TibiFJ / gmail-delay-send

Automatically exported from code.google.com/p/gmail-delay-send
0 stars 0 forks source link

English date format #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is some conflict between the US and English date format 17/04/2013 (where 
17 is the day of the month) is recognised correctly on datejs as 17th April 
2013 but sends immediately, is there a way to change the date format in the 
script to English?

Mac 10.5

Original issue reported on code.google.com by stephenj...@gmail.com on 17 Apr 2013 at 5:13

GoogleCodeExporter commented 8 years ago
Sorry I mean't 01/05/2013 sends immediately, as although the dates work in the 
English format where the day or month exceeds 12, so 17/04/2013 works as 17th 
April 2013 01/05/2013 works as 5th January 2013.....all very confusing and easy 
to error!

Original comment by stephenj...@gmail.com on 17 Apr 2013 at 5:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello stephenjmertens,

Yes, I agree it's confusing.  I believe it's part of the date ISO standard to 
attempt to parse a date as MM/DD/YY first, then if MM > 12, fallback to 
DD/MM/YY.

I might suggest you stick to MM/DD/YY, or if there is any work to be done on 
the datejs side please feel free to make a change to that project!

Thanks again for using the script!
-Blair

Original comment by blairk...@gmail.com on 18 May 2013 at 8:36