Closed tashian closed 5 days ago
All the functions but toTimeLayout
can be implemented using pure sprig, but they are more complicated:
{{ formatTime .unixEphoch }}
{{ dateInZone "2006-01-02T15:04:05Z07:00" .float64 "UTC" }}
{{ parseTime .notBefore }}
{{ toDate "2006-01-02T15:04:05Z07:00" .notAfter }}
https://github.com/smallstep/crypto/pull/539