Descriptiontime: do not segment time strings by character class.
instead use pure substring matching to find template values.
this makes stdZulu unnecessary and allows formats
like "20060102 030405" (used in some internet protocols).
this makes Parse not handle years < 0000 or > 9999 anymore.
that seems like an okay price to pay, trading hypothetical
functionality for real functionality.
also changed the comments on the Time struct to use the
same reference date as the format and parse routines.
Patch Set 1 #Patch Set 2 : code review 833045: time: do not segment time strings by character class. #
Total comments: 2
Patch Set 3 : code review 833045: time: do not segment time strings by character class. #
Total comments: 1
Patch Set 4 : code review 833045: time: do not segment time strings by character class. #
MessagesTotal messages: 7
|