Display dates with prefereuro
Downloads of Display dates with prefereuro are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account | ||
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox
|
The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Display dates with preferEuro | ||||||
---|---|---|---|---|---|---|
Summary | Display dates according to your preferences | |||||
Validation | ||||||
Mod Updated | 02 Jan 2023 | |||||
Download link | For
For
For
| |||||
Download stats | Montrer les statistiques | |||||
Author(s) | Michel Kirsch | |||||
Homepage | Racines luxo-hennuyeres | |||||
Mod Support | TNG Community Forums | |||||
Contact Developer | ||||||
Latest Mod | v12.3.0.2a from v12+ to v13.1.1 v13.1.2.3 for TNG 13.1.1 v14.0.0.3a from TNG 14.0+ | |||||
Min TNG V | v12.3.0.2a TNG 12+ => TNG 13.1.1 v13.1.2.3 TNG 13.1.1 => TNG 13.1.2 v14.0.0.3a => TNG 14.0+ | |||||
Max TNG V | n.c. | |||||
Files modified | admin_families.php admin_media.php admin_people.php admin_repositories.php admin_sources.php admin_trees.php admin_users.php admin_utilities.php globallib.php | |||||
Related Mods | ||||||
Notes |
Purpose of the Mod
You have probably already wondered what this "Numeric Date Preference" option is used for in
"Administration>>Setup>>General settings>>Miscellaneous".
Indeed, you can change the option, but the date display does not change in TNG.
This is normal because this option is used for encoding numeric dates and determines whether the first digits you enter in a date are relative to a day or a month.
This Mod, once installed, will change the display of dates according to your choice!
All dates presented in TNG (except those in admin_dna_tests) will be displayed according to your choice
as 05 dec 2020 (European format) or Dec 05, 2020 (US format).
Days can be in one or two digits in accordance with your choice in parameters, months in one or two digits or three letters.
Development
Written by : Michel Kirsch from Charleroi - Hainaut - Belgium
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary in the upper right corner of the page)
- An installed current version of the Mod Manager.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
14.0.0.3a | 14.0 | 02 Jan 2023 | To avoid PHP warnings if there is no backupdate (Admin>>Utilities). |
14.0.0.3 | 14.0 | 01 Oct 2022 | TNG 14.0 ready. |
13.1.2.3 | 13.1 | 05 Apr 2022 | TNG 13.1.2 ready. |
12.3.0.2a | 12.3 | 11 Jan 2022 | Gives the choice to display days and months in one or two digits (if less than 10 and not alphanumeric for months) |
12.3.0.2 | 12.3 | 19 Feb 2021 | Use this version only if you want to use the "Numeric dates" Mod in its 3a version ("hungarian" date format) |
12.3.0.1 | 12.3 | 03 Nov 2020 | First online version. |
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
admin_families.php
admin_media.php
admin_people.php
admin_repositories.php
admin_sources.php
admin_trees.php
admin_users.php
admin_utilities.php
globallib.php
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact us through the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Known Problems
None at this day...
Visualization
getperson.php without and with the Mod installed, following your choice for the Numeric Dates Preference.
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Racines luxo-hennuyeres | Michel Kirsch | Mod's Developper | 14.0.0.3a | 14.0.3 | FR/EN/NL/GE/SP |
The Severijns / Timmer Familytree | Rob Severijns | Public / Private | 14.0.0.3a | 14.0.4 | NL, EN |
Os Belard | Luís Belard da Fonseca | Public/Private | 13.1.2.3 | 13.1.2 | PT |
Joseph Oran Holtz Genealogy Pages | Jim Holt | Private | See Here | See Here | EN |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private | See Here | See Here | EN,DE,CS |