rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: ~GeeS~ on January 21, 2006, 04:16:23 PM
-
W3C recommendation:
International Dates
Don't use dates like "04-03-02".
The date above could mean the second day of March in 2004. It could also mean the fourth day of March in 2002. Or even the third day of April in 2002.
The international standard organization (ISO) has defined an international standard format for dates as "yyyy-mm-dd", where yyyy is the year, mm is the month and dd is the day.
When you use this ISO format, you can expect most visitors to understand your dates.
The actual format in HFS is dd-mm-yy. Rejetto, would it be possible to change the format to the recommended ISO format?
-
Even though you say that yyyy-mm-dd is the ISO standard, NOBODY talks like that when they verbally say the date. When people talk dates (in English and probably other languages) they verbally say 21st of January 2006 or January 21, 2006 NOT 2006 January 21. It not only sounds backwards but it looks backwards.
My HFS, and system in general, shows the date as mm/dd/yy (1/21/06 - short date) or mm/dd/yyyy (January 21, 2006 - long date) which is what it should be for me not dd/mm/yy. (probably due to individual O/S settings in control panel).
-
I agree, it sounds and looks strange, but most new things do the first time!
Please :read:
http://www.cl.cam.ac.uk/~mgk25/iso-time.html
Sounds extremely reasonable to me.
Maybe some visitors from China,Japan, Korea, Hungary, Sweden, Finland, Denmark or other countries would like to comment on this question.
-
Wouldn't the window's control panel settings override whatever default timestamp format is used in HFS? If so, whatever language of O/S is used, those settings would show what the users want their timestamp to look like for their own personal systems.
Thanks for the link. Good reading.
-
Maverick wrote:
Wouldn't the window's control panel settings override whatever default timestamp format is used in HFS?
:#) My apologies! Just checked my settings. Indeed, HFS takes over the settings for the date changed it to yyyy-mm-dd and HFS responded correctly: 2006-01-21 20:42:01 UTC+1 (ISO compliant) :)
Decision is up to us whatever format we want to serve.
-
yes, HFS uses the "locale" information for formatting the date
nevertheless it is planned a feature for a standard log format