rejetto forum
May 23, 2012, 08:10:17 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Format of date in %timestamp%  (Read 1455 times)
0 Members and 2 Guests are viewing this topic.
~GeeS~
Tireless poster
****
Offline Offline

Netherlands Netherlands

Posts: 269


"The web was made for sharing..."


View Profile
« on: January 21, 2006, 10:16:23 AM »

W3C recommendation:
Quote
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?
Logged

~GeeS~
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #1 on: January 21, 2006, 10:30:01 AM »

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).
Logged

maverick
~GeeS~
Tireless poster
****
Offline Offline

Netherlands Netherlands

Posts: 269


"The web was made for sharing..."


View Profile
« Reply #2 on: January 21, 2006, 11:39:51 AM »

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.
Logged

~GeeS~
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #3 on: January 21, 2006, 01:18:35 PM »

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.
Logged

maverick
~GeeS~
Tireless poster
****
Offline Offline

Netherlands Netherlands

Posts: 269


"The web was made for sharing..."


View Profile
« Reply #4 on: January 21, 2006, 01:47:39 PM »

Maverick wrote:
Quote
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)  Smiley

Decision is up to us whatever format we want to serve.
Logged

~GeeS~
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11826


View Profile
« Reply #5 on: February 08, 2006, 12:29:49 PM »

yes, HFS uses the "locale" information for formatting the date
nevertheless it is planned a feature for a standard log format
Logged
rejetto forum
« Reply #5 on: February 08, 2006, 12:29:49 PM »

Do you like this software? Consider even $2
 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 19, 2012, 08:26:47 AM