- Posts: 92
Question Date format settings - addon or change coode for config.ini.php
- webtreesFUN
- Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.21 (all custom modules installed, PHP 8.3.12, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- webtreesFUN
- Topic Author
- Offline
- New Member
- Posts: 92
YYYY-MM-DD than D, Month , YYYY etc.
Eg. format how we see in diagram, reports (can be used form more analysis, operate with data), exports and other addons.
Its more how user seeing fina view, and input fields for GUI components.
Eg. when you change language to other from EN in pickup tool and input is still English format as 1 JAN 2024 not language. I think coz it's not universal setting but default.
Please Log in or Create an account to join the conversation.
- JustCarmen
- Away
- Elite Member
You can test it yourself. Set the language on American English and the American date format is used, eg August 7, 1894.
Set the language on British English and the European date format is used, eg 7 August 1894
Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2
Check my website at www.justcarmen.nl
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
There is an example module that shows how to define/override translations. Just set it to the format you want for each language.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
- Topic Author
- Offline
- New Member
- Posts: 92
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
No. You can use many different formats to enter data.
Click the help icon at the end of the input field to see them.
So, you can type 01/05/1958 or 1958-05-01 or many other formats.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 3137
Ken
Please Log in or Create an account to join the conversation.
- webtreesFUN
- Topic Author
- Offline
- New Member
- Posts: 92
Yes I put, it working. Before I not recognized that JS replacing format in fact.
But still referring to the view in many places.
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 3137
Ken
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Whatever the user types, webtrees *must* convert it to this format.
For experienced users, it is always quicker/easier to type GEDCOM format.
Dates can have very complicated formats (different calendars, ranges, etc.), and a point/click interface for this would be also need to be very complicated.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
- Topic Author
- Offline
- New Member
- Posts: 92
But.. still about views for users, eg. format for export in pdf, etc. They can have own format and it's fine.
Event standard is DD m Y then view with ISO8601 Notations as YYYY-MM-DD can be more operatible.
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
The standard is not simply "DD MMM YYYY".
There are different calendars, date ranges, approximate dates, etc.
14 AUG 55 B.C.
@#DHEBREW@ 14 TVT 5432
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
- Topic Author
- Offline
- New Member
- Posts: 92
2 DATE 19 DEC 2023
3 TIME 19:34:52
As standard in gedcom, but finally in view user can what want.
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 3137
Ken
Please Log in or Create an account to join the conversation.