Closed taldcroft closed 2 years ago
This allows bytes input to the date2secs function. Note that it does NOT allow bytes to be used to initialize a DateTime object. I tried that and things went badly wrong for reasons that were not immediately obvious.
bytes
date2secs
DateTime
The driver here is ensuring that date2secs will work with kadi commands archive v2, see https://github.com/sot/kadi/pull/212#issuecomment-1079129159.
Description
This allows
bytes
input to thedate2secs
function. Note that it does NOT allowbytes
to be used to initialize aDateTime
object. I tried that and things went badly wrong for reasons that were not immediately obvious.The driver here is ensuring that
date2secs
will work with kadi commands archive v2, see https://github.com/sot/kadi/pull/212#issuecomment-1079129159.Testing