[pbs-devel] [PATCH proxmox 0/5] time conversion tests and fixes

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Sep 15 12:20:49 CEST 2020


patches 1/2 could also be changed to not allow leap seconds when parsing
at all - which would no longer be RFC3339 conformant, but we are not
w.r.t some other things as well (e.g., t/z instead of T/Z).

Fabian Grünbichler (5):
  time: add test for leap second parsing/converting
  time: allow leap seconds when parsing RFC3339
  time: add tests for RFC3339 corner cases
  time/rfc3339: add leading zeroes for years < 1000
  time: add tests for gmtime range

 proxmox/src/tools/time.rs | 106 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 103 insertions(+), 3 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list