Skip to content

Commit

Permalink
Added : as a valid separator between seconds and subseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Blew committed Jan 25, 2013
1 parent a9e4b32 commit e2a29e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patterns/grok-patterns
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ YEAR (?>\d\d){1,2}
HOUR (?:2[0123]|[01][0-9])
MINUTE (?:[0-5][0-9])
# '60' is a leap second in most time standards and thus is valid.
SECOND (?:(?:[0-5][0-9]|60)(?:[.,][0-9]+)?)
SECOND (?:(?:[0-5][0-9]|60)(?:[:.,][0-9]+)?)
TIME (?!<[0-9])%{HOUR}:%{MINUTE}(?::%{SECOND})(?![0-9])
# datestamp is YYYY/MM/DD-HH:MM:SS.UUUU (or something like it)
DATE_US %{MONTHNUM}[/-]%{MONTHDAY}[/-]%{YEAR}
Expand Down

0 comments on commit e2a29e1

Please sign in to comment.