mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
48cfe3f087
`GetTimestamp()` "assumed" values it could not parse to be a valid unix timestamp, and would use invalid values ("hello world") as-is (even testing that it did so). This patch validates unix timestamp to be a valid numeric value, and makes other values invalid. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
duration_convert.go | ||
duration_convert_test.go | ||
timestamp.go | ||
timestamp_test.go |