Richie
(Richie Rich)
2018 年12 月 10 日 21:18
1
Hey everyone,
When viewing topics, the date on our Discourse is displayed in a ‘Month Day’ format.
However, here in the UK we write our dates as ‘Day Month’.
So viewing topics is sometimes incredibly confusing because ‘Oct 17’ is read / understood to simply be ‘October 2017’
Eg:
I’ve been all over my admin settings and for the life of me I can’t find this option anywhere.
I did a few searches here and found a similar but different thread , which makes me suspect there may not be a way to change this…
Can anyone advise?
3 个赞
HAWK
(Hawk)
2018 年12 月 10 日 21:34
2
In that case there will be an apostrophe.
Here in NZ we also say day month year when writing dates but we also say Oct the 17th, so this does in fact make sense.
There is no way to change this via the UI.
2 个赞
Richie
(Richie Rich)
2018 年12 月 10 日 21:45
3
There’s no apostrophe in my screen shot mate
It would probably help the issue a bit if there was
That’ll explain why I can’t find the option then
Thanks for the reply @HAWK
Richie
(Richie Rich)
2018 年12 月 10 日 21:45
4
Right, sorry, d’oh - just re-read your post - I’m with you now
2 个赞
gerhard
(Gerhard Schlager)
2018 年12 月 10 日 21:46
5
Ideally Discourse could ship an English (UK) locale. There shouldn’t be that many differences…
You could always request it to be added to Transifex and start maintaining it there.
But for now overriding a few translations in the Admin panel should work too. Go to Customize → Text and change the date and time formats.
The names of the relevant keys are in two files. I’ve highlighted them for you.
14 个赞
Richie
(Richie Rich)
2018 年12 月 13 日 20:42
6
@gerhard just wanted to say ‘thank you’ my good man!
This has precisely solved our issue
Thank you for taking the time to provide the highlighted examples.
Very grateful
5 个赞
Richie
(Richie Rich)
2018 年12 月 13 日 20:44
7
Had to change quite a few! This list scrolls on for another two pages
4 个赞
I have the English (UK) locale requested and has been added. I have also tweaked the date settings
Need to go through the other files yet to see what else needs to be tweaked if anything but its a start
7 个赞
Richie
(Richie Rich)
2018 年12 月 14 日 10:22
9
1 个赞
system
(system)
关闭
2019 年1 月 13 日 10:33
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.