[local-time-devel] arbitrary precision for fraction of a second

david thompson thompdump at gmail.com
Wed Jul 14 10:57:48 UTC 2010


My understanding is that the ISO 8601 spec permits an arbitrary number
of digits following the decimal point when a decimal fraction of an
hour, minute, or second is specified.

This works fine:
>  (LOCAL-TIME:PARSE-TIMESTRING "2010-07-12T16:07:08.123742200")
@2010-07-12T09:07:08.123742-07:00

This doesn't:
> (LOCAL-TIME:PARSE-TIMESTRING "2010-07-12T16:07:08.1237422004")

Is the constraint on the number of digits LOCAL-TIME permits following
the decimal character specified in the LOCAL-TIME documentation?

- Alan




More information about the local-time-devel mailing list