From: dblack@... Date: 2006-11-27T23:59:36+09:00 Subject: Re: Timestamp Hi -- On Mon, 27 Nov 2006, Paul Lutus wrote: > dblack@wobblini.net wrote: > >> Hi -- >> >> On Mon, 27 Nov 2006, Paul Lutus wrote: >> >>> dblack@wobblini.net wrote: >>> >>> / ... >>> >>>>> Milliseconds, then, since they appeared as three-digit integers. >>>> >>>> Actually the whole thing (44,12 or 23,555 or whatever) is one float, >>>> using a comma separator instead of a dot. The comma is the >>>> "preferred" separator in this context in the ISO 8601 standard, so I >>>> imagine that's being followed here. >>> >>> Not that I have any doubt about your claim, but I find it hard to believe >>> that an international standard would specify a locale-specific radix >>> character. >> >> I'm not sure what the distinction is between doubting and finding it >> hard to believe :-) > > Okay, fair enough. I don't doubt that Bush is president, but I find it hard > to believe. That should do it. :) Yes, I see :-) >> Anyway, here's a quote from ISO 8601: >> >>>>> >> If necessary for a particular application a decimal fraction of hour, >> minute or second may be included. If a decimal fraction is included, >> lower order components (if any) shall be omitted and the decimal >> fraction shall be divided from the integer part by the decimal sign >> specified in ISO 31-0: i.e. the comma [,] or full stop [.]. Of these, >> the comma is the preferred sign. > > This sounds as though the radix sign should follow the locale, as do numbers > in that locale. It sounds to me like the comma is preferred over the dot, period :-) But either is OK. David -- David A. Black | dblack@wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org