[go: up one dir, main page]

Skip to content

Possible bug in time.rfc3339

With this input:

a 11:35:38.490 b

I have:

Pattern Output
{ "a" [:space:]+ time.rfc3339 [:space:]* "b"} OK
{ "a" [:space:]+ time.rfc3339 [:space:]+ "b"} KO

(notice * vs +)

So time.rfc3339 gobbles a space ("11:35:38.490 ").

Maybe

rfc3339 = { rfc3339_time [:space:]* offset? }

could be:

rfc3339 = { rfc3339_time { [:space:]* offset }? }

?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information