Skip to content

Commit

Permalink
fixup! fixup! Add basic test for date fields
Browse files Browse the repository at this point in the history
  • Loading branch information
olorin committed Jul 19, 2016
1 parent 920834e commit a65f1b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cbits/field.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ static inline bool is_separator(char c) {
}

/* Match a year in the 20xx century, in big-endian date format with or
without separators.
precondition: n >= 8 */
without separators. */
static inline bool match_ymd(const char *buf, size_t n) {
/* The shortest thing we're willing to call a "date" at this
point is YYYYMMDD. */
Expand Down

0 comments on commit a65f1b3

Please sign in to comment.