Is there any way to configure four digit years in Discourse. Or alternatively, as a feature request, can we please have four digit years in Discourse?
For example:
This is easily confused to read 17th of January, as opposed to an archaic post from 4 years ago.
Depending on the dark/light setting and other theme configurations, the apostrophe can be even less visible.
Thanks.
7 إعجابات
ccstone
(Christopher Stone)
19 فبراير 2021، 5:34ص
2
I think this is highly desirable.
We’ve had quite a number of users mistake the 'YY for the day, and that’s spawned confused and unnecessary comments on the Keyboard Maestro Forum.
-Chris
(Keyboard Maestro Forum Moderator)
hawm
(Hawm)
19 فبراير 2021، 7:01ص
3
You can customize it by search js.dates
on /admin/customize/site_texts
.
And the time format document:
https://momentjs.com/docs/#/displaying/format/
By the way, what @team thoughts about the recent Moment.js project-status ?
7 إعجابات
Thanks, I went to Admin, Customize, Text, searched for js.dates, then changed it to search for 'yy
, and changed all of them to YYYY
.
3 إعجابات
Actually, can I just confirm it is capital Y for YYYY? Because I know I’ve been bitted in regex where it is yyyy for year, but YYYY for year of "Week of Year"
which is different a few days each year.
I checked and the original was 'YY
so I presume that capital Y is correct.
Not really, not unless. you didn’t see the period in the middle of this sentence
That being said, the idea is you can customize any text however you like on your site, including date formats.
Actually, when I read that sentence I read right over the period, so yeah, I’d say easily missed.
sam
(Sam Saffron)
21 فبراير 2021، 8:14ص
8
We are aware, and shopping for a replacement
4 إعجابات
system
(system)
تم إغلاقه في
23 مارس 2021، 8:14ص
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.