Re: New date stuff: am I doing something wrong?
At 12:20 PM +0100 5/18/2007, David Bovill wrote: Ah - so that definitely is a bug :) Should be american date no? So there is no way of taking a date in english - lets say Scottish format and converting it as we cannot assume the user settings... ok so I guess I have to script it. Funny I thought those yanks would of objected to being called english :) It's for historical reasons: HyperCard called that format the english date. (Probably because the engineers were thinking in terms of English versus other languages such as Spanish - that is, localized systems - instead of in terms of England versus the US.) -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
New date stuff: am I doing something wrong?
I have been testing/working with the new date fixes in 2.8.1 and have a problem with english dates - which I cannot convert properly: put 20/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 20/4/02 into testDate -- convert testDate from system date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate convert testDate from english date to seconds convert testDate to dateItems put testDate break Is this a bug I should file? Either way how can convert the english dates back - do I have to manually change the order of the items myself in a script? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New date stuff: am I doing something wrong?
David, are you sure you've understood what english denotes in Revolution? From the docs: english Used with the date and time functions to specify a date or time in the format used in the United States. So 20/4/02 is not an english date Best, Mark On 18 May 2007, at 09:17, David Bovill wrote: I have been testing/working with the new date fixes in 2.8.1 and have a problem with english dates - which I cannot convert properly: put 20/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 20/4/02 into testDate -- convert testDate from system date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate convert testDate from english date to seconds convert testDate to dateItems put testDate break Is this a bug I should file? Either way how can convert the english dates back - do I have to manually change the order of the items myself in a script? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New date stuff: am I doing something wrong?
Ah - so that definitely is a bug :) Should be american date no? So there is no way of taking a date in english - lets say Scottish format and converting it as we cannot assume the user settings... ok so I guess I have to script it. Funny I thought those yanks would of objected to being called english :) On 18/05/07, Mark Smith [EMAIL PROTECTED] wrote: David, are you sure you've understood what english denotes in Revolution? From the docs: english Used with the date and time functions to specify a date or time in the format used in the United States. So 20/4/02 is not an english date Best, Mark On 18 May 2007, at 09:17, David Bovill wrote: I have been testing/working with the new date fixes in 2.8.1 and have a problem with english dates - which I cannot convert properly: put 20/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 20/4/02 into testDate -- convert testDate from system date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate -- convert testDate from english date to dateItems convert testDate from short english date to dateItems put testDate put 6/4/02 into testDate convert testDate from english date to seconds convert testDate to dateItems put testDate break Is this a bug I should file? Either way how can convert the english dates back - do I have to manually change the order of the items myself in a script? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New date stuff: am I doing something wrong?
Ah - so that definitely is a bug :) Should be american date no? So there is no way of taking a date in english - lets say Scottish format and converting it as we cannot assume the user settings... ok so I guess I have to script it. Funny I thought those yanks would of objected to being called english :) The English date should be exactly the same regardless what the current system format is, so you can rely on it being always mm/dd/yy. May be if people finally start commonly referring to English spoken in the US as American, the Rev keywords will be adjusted accordingly. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New date stuff: am I doing something wrong?
We call that sort of English the gringo English here but that is probably also incorrect as I think the first use of gringo was for British soldiers. But convert dateitems to the gringo date would be cool. On 5/18/07 7:39 AM, Robert Brenstein [EMAIL PROTECTED] wrote: Ah - so that definitely is a bug :) Should be american date no? So there is no way of taking a date in english - lets say Scottish format and converting it as we cannot assume the user settings... ok so I guess I have to script it. Funny I thought those yanks would of objected to being called english :) The English date should be exactly the same regardless what the current system format is, so you can rely on it being always mm/dd/yy. May be if people finally start commonly referring to English spoken in the US as American, the Rev keywords will be adjusted accordingly. Robert ___ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution