Republican Dates
![]() |
Downloads of Republican 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 | ![]() |
![]() |
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] |
|
Republican dates | ||||||
---|---|---|---|---|---|---|
Summary | Allows encoding, formatting, validation and display of french republican dates | |||||
Validation | ||||||
Mod Updated | 30 Jan 2025 | |||||
Download link | For
For
For
For
For
v12.2.0.2d | |||||
Download stats | Montrer les statistiques | |||||
Author(s) | Michel Kirsch | |||||
Homepage | Racines luxo-hennuyeres | |||||
Mod Support | TNG Community Forums | |||||
Contact Developer | ![]() | |||||
Latest Mod | v12.2.0.2d for TNG v12+ - v13.0.0.2e for TNG v13+ - V13.1.2.2f for TNG v13.1.2 - V14.0.0.2f for TNG14+ - v15.0.0.3 for TNG15+ | |||||
Min TNG V | 12.2+ | |||||
Max TNG V | n.c. | |||||
Files modified | admin_families.php admin_people.php datelib.php globallib.php admin_secondmenu.php admin_secondary.php js/datevalidation.js languages/English-UTF8/cust_text.php languages/English/cust_text.php languages/French/cust_text.php languages/French-UTF8/cust_text.php | |||||
Related Mods | ||||||
Notes |
Purpose of the Mod
This Mod allows encoding, formatting, validation and display of french republican dates
Input Formats:
Prefix: r or R or nothing depending on option.
Day: at least one digit > 0
Month: in 3 letters minimum (4 for Ventose and Vendémiaire), lower or upper case.
Year: at least one digit > 0 or the Roman characters from I to XIV inclusive, in upper or lower case, preceeded by "An" or not. < br>
Separators: space, slash(/) or dash (-).
After inputting the date, press [Tab] to validate and format the date.
Inputting "5 bru AN iv" [Tab ] will change your input in "05 BRUM An IX", meaning that the date is valid and formatted.
Date Modifiers: the date can be preceded by "bef", "aft", "<", ">", "ca", "near".
The mod does not takes in charge the double dates (like: "Between 05 Brum 09 and 15 brum 10".
They remain in their input format (ex: BET 5 BRUM 9 AND 15 BRUM IX).
Output Formats :
On the screen, the date is represented by :
Day: in two digits
Month: in 4 capital letters (BRUM) or in whole (Brumaire) according to option.
Year: in two digits or in upper case roman numerals according to option.
Prefix: to choose and to define (ex: [R]) or nothing according to option.
As an option, the Gregorian date (TNG format) is followed by the Republican date between parentheses. Ex ==> 07 May 1804 (18 PRAI XII)
or the Republican date is followed by the Gregorian date between parentheses. Ex ==> [R] 18 PRAI 12 (Mey 7 1804)
GEDCOM Import :
A secondary maintenance tool is provided in the Administration/Import-Export/Secondary Maintenance Tools section, button "Republican dates".
This tool provides Gregorian encoding and standard formatting of imported valid republican dates.
A date imported as "@DFRENCH R@ 5 brumaire An IX" will be re-stored as "05 BRUM 09".
This has no influence on the screen display.
The gedcom import formats are taken into account (Ex: @#DFRENCH R@ for Hérédis)
Validity checks.
Several validity checks are carried out:
The number of extra days in leap years
the maximum republican date (10 NIV 14)
the number of days per month.
Preservation in the tables:
The Republican dates will be kept in the tables with their Gregorian equivalent in order to
enable it to be classified among the other dates and taken into account in the statistics.
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.
Revision History
Mod Version | Date | Contents
|
---|---|---|
15.0.0.3 | 30 Jan 2025 | TNG15+ and MySQL8+ ready. |
14.1.2.2f | 04 Jun 2023 | Fix a bug when the year = 14. |
14.0.0.2e | 31 Jan 2023 | TNG 14.0 ready. Adapt the menu in post-import utilities. |
13.1.2.2e | 05 Apr 2022 | TNG 13.1.2 ready |
13.0.0.2e | 05 Apr 2022 | Ready for new Mod to be released (Dates validations) |
12.2.0.2d v13.0.0.2d |
03 Feb 2021 | Changing code for Compatibility with other mods - Fix problem with French-UTF8 file |
13.0.0.2c | 23 Sep 2020 | Version for TNG v13 |
12.2.0.2c | 23 Aug 2020 | Changing code for abbreviations ($admtext => $text) and avoiding conflict with the 'Create Site Map Mod' Mod - Wiki page link was broken |
12.2.0.2 | 21 May 2020 | Frimaire and Brumaires not correctly set ! - Adds tng adm abbreviations for death, burial, christ. |
12.2.0.1 | 18 May 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_people.php
datelib.php
globallib.php
admin_secondmenu.php
admin_secondary.php
js/datevalidation.js
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French/cust_text.php
languages/French-UTF8/cust_text.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 an email to [[Image:Image mail.png|MyMail]
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, 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.]
Visualization
Some views with mod installed.
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 | 14.1.2.2f | 14.0.3 | FR/EN/DU/GE/SP | |
La Saga BIGEY | François BIGEY | Public site | 14.0.0.2f | 14.0.2 | FR | |
Les Malvache au fil du temps | Cédric Malvache | Public & Private | V15.0.0.3 |
|
FR/EN/SP | |
GénéaKat | Katryne Chauvigné-Bourlaud | Public & Private | v14.0.0.2f | 14.0.4 | FR,EN,SP |