activitystreams icon indicating copy to clipboard operation
activitystreams copied to clipboard

ABNF as2-partial-time accept time-secfrac without time-second

Open artlog opened this issue 7 years ago • 2 comments

Please Indicate One:

  • [ ] Editorial
  • [X] Question
  • [ ] Feedback
  • [ ] Blocking Issue
  • [ ] Non-Blocking Issue

Please Describe the Issue:

for ABNF in Date and Time :

as2-partial-time = time-hour ":" time-minute [":" time-second] [time-secfrac]

shouldn't it be

as2-partial-time = time-hour ":" time-minute [":" time-second [time-secfrac] ]

since time-secfrac has few interest if time-second is not provided.

artlog avatar Jul 29 '18 13:07 artlog

Good eye. Though conceptually you can add a fraction of a second to a minute without first needing to add a second.

I don't think there are any inconsistencies with the way it is that would warrant a backward-incompatible change or adding to errata.

Again, though, good eye.

gobengo avatar Sep 12 '18 16:09 gobengo

This seems like an error to me. I added an erratum here:

https://github.com/w3c/activitystreams/pull/550

evanp avatar Oct 11 '23 16:10 evanp