W3C home > Mailing lists > Public > www-validator@w3.org > October 2012

Re: validation of datetime values

From: KANZAKI Masahide <mkanzaki@gmail.com>
Date: Sat, 27 Oct 2012 15:12:48 +0900
Message-ID: <CAHQ1n3Ag3yTuN9wjmai-WeDjg-qUfriuVNnioUqFzeTW7ZdjGg@mail.gmail.com>
To: "Michael[tm] Smith" <mike@w3.org>
Cc: www-validator@w3.org
Hello Mike, thank you for quick update.

2012/10/27 Michael[tm] Smith <mike@w3.org>:
> About the second case, that's not a bug, because the spec does actually
> require the fractional parts of seconds to be one, two, or three digits:
>
>   http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#valid-time-string
>
> So the examples in that spec such as "14:54:39.92922" are actually not
> valid datetime values, and so for that I've filed a spec bug:
>
>   https://www.w3.org/Bugs/Public/show_bug.cgi?id=19732

Ah, I didn't notice the "up to three digits" definition of fractional
part. I prepared 'fraction safe' test file, and the validator
successfully answered it was valid.
http://www.kanzaki.com/works/2012/test/1027-time.html

Thank you for maintaining useful tools.

-- 
@prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name
"KANZAKI Masahide"; :nick "masaka"; :email "mkanzaki@gmail.com"].
Received on Saturday, 27 October 2012 06:13:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 27 October 2012 06:13:17 GMT