diff options
author | Peter Lunicks <plunix@users.sourceforge.net> | 2013-03-26 22:50:17 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-27 11:47:07 -0400 |
commit | 2f3cfb73023da1a57cdc397e86e10163ebe9cb38 (patch) | |
tree | 294407f1284a846bb73c69c05bd5a44bf9446cda /ts | |
parent | d87032d88689177d6d1bae551fe21527d7df93f6 (diff) | |
download | moreutils-2f3cfb73023da1a57cdc397e86e10163ebe9cb38.tar.gz |
fix for syslog-style single-digit day dates, e.g. 'Feb 3'
Diffstat (limited to 'ts')
-rwxr-xr-x | ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ while (<>) { (?::\d\d)? # (optional seconds) (?:\s+[+-]\d\d\d\d)? # (optional timezone) | - \w{3}\s+\d\d\s+\d\d:\d\d:\d\d # syslog form + \w{3}\s+\d{1,2}\s+\d\d:\d\d:\d\d # syslog form | \d\d\d[-:]\d\d[-:]\d\dT\d\d:\d\d:\d\d.\d+ # ISO-8601 | |