Re: parsing Unix date
Re: parsing Unix date
- Subject: Re: parsing Unix date
- From: Emmanuel <email@hidden>
- Date: Sat, 10 Jan 2004 19:40:53 +0100
At 12:05 PM -0600 10/01/04, Christopher Stone wrote:
>
At 02:16 -0500 01/10/2004, Graff wrought:
>
>
>The time reported by the date tool is 02:06:34, the time reported by AppleScript's date coercion is 10:02:06. This is because AppleScript's date coercion is mistakenly taking the 10 which leads the string "02:06:34" as the hour
>
______________________________________________________________________
>
>
This is particularly surprising considering how prevalent the Unix date string format is in computing and considering that Mac OS X now sits on top of Unix...
>
>
Perhaps Mr. Nebel will file it as a bug?
It's not clear for me how you can expect such a thing to work easily. There is only one UNIX date default format, while there are as many AppleScript date formats as localizations, or am I missing something?
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.