Commit graph

3 commits

Author SHA1 Message Date
Tiffany Bennett
7f73a2000d Make seconds optional in date patterns 2016-10-22 11:11:44 -04:00
Tiffany Bennett
428dde12c7 Fix several bugs and add features in date parser
Now supports 12-hour time, unpadded days, time on more patterns, AD/BC,
and ISO 8601 negative years.
2016-09-16 00:05:00 -04:00
Tiffany Bennett
2d84daf064 Add dedicated date patterns file, improve dates
There is now a dedicated lexer for date literals, which handles ISO 8601
dates (with the T) properly now.

Parsing of date patterns is handled in date.rs now, instead of in unit_defs.rs.
2016-08-22 14:53:33 -04:00