Numeric dates

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Numeric dates 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 Restricted
Caution 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


Caution



Ambox notice.png 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:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


Mod Conflict Note the install order requirements.

Numeric dates conflicts with other Mods. Specific install and uninstall order is required.
Do not Clean Up "Cannot install or Partially installed" status after the install. Refer to instructions below.

Mod Conflict


Numeric Dates
Summary Display numeric dates in place of TNG standard
Validation
Mod Updated 07 Oct 2023
Download link For
TNG 13.1.2
TNG 14.0

v13.1.2.3f


For
TNG 13.0

v13.0.0.3c


For
TNG 12.0

v12.2.0.2
Download stats Montrer les statistiques
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod v12.2.0.2 for TNG v12
v13.0.0.3c for TNG v13
v13.1.2.3f for TNG v13.1.2+
Min TNG V v12.0+
Max TNG V n.c.
Files modified
admin_families.php
admin_people.php
globallib.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
Related Mods
Notes

Purpose of the Mod

This mod displays the dates with their numeric representation.
Displays are 12/21/2002 or 21/12/2002 in relation with Numeric Date Preference
(See Admin/Setup/General Settingd/Miscellaneous)
It can work with (or without) the Republican Dates Mod

Mod Developer

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.

IMPORTANT : Before installing

Before installing, it is judicious to make a backup copy of the files that will be modified by this mod.

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

admin_families.php
admin_people.php
globallib.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php

Installation

Note : If you use it, the days for dates Mod must be installed BEFORE and uninstalled AFTER this Mod.

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. 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

Uninstalling the mod

If you want to completely Remove (uninstall) this mod, you should

  1. click the Uninstall button to uninstall the mod
  2. 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

If you use it, the days for dates Mod must be installed BEFORE and uninstalled AFTER this Mod.

Revision History

Mod Version TNG Version Date Contents
13.1.2.3f 07 Oct 2023 Fix a fugitive warning when using ISO dates.
13.1.2.3e 01 Nov 2022 TNG 14 ready.
13.1.2.3d 11 May 2022 Minor changes : Add "<", ">" and "ca" as modifiers to complies with Republican dates Mod.
13.1.2.3c 5 Apr 2022 TNG 13.1.2 ready.
13.0.0.3c 11 Jan 2022 You can choose to display days and months in one or two (with leading zero) digits.
13.0.0.3b 04 Jan 2022 You can choose your date separator instead the default one (/).
13.0.0.3a 19 Feb 2021 This version support a new format (yyyy. mm. dd.) following the ISO-8601-2004 standard, used (a.o) in Hungaria.
There is no need to install this version if you don't use this date format. The v2 version is enough.
xx.xx.xx.2 24 Oct 2020 Dates are now displaying correctly, according with PreferEuro variable. (See Numeric Date Preference into Admin/Setup/General Settingd/Miscellaneous)
12.2.0.1d 23 Aug 2020 Changing code for variables ($admtext ==X $text)
12.2.0.1c 10 Jun 2020 Fix a problem : Sometimes the month june is written "05" !!
12.2.0.1b 19 Apr 2020 First online version.

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Developper of the Mod 13.0.0.2 14.0.3 FR/EN/NL/DE/SP
Les Lapierre d'Amérique Normand Lapierre 13.0.0.2 13.0.1 FR/EN
Os Belard Luís Belard da Fonseca 13.1.2.3c 13.1.2 PT