Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bytes input to date2secs #53

Merged
merged 1 commit into from
Mar 26, 2022
Merged

Allow bytes input to date2secs #53

merged 1 commit into from
Mar 26, 2022

Conversation

taldcroft
Copy link
Member

Description

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.

The driver here is ensuring that date2secs will work with kadi commands archive v2, see sot/kadi#212 (comment).

Testing

  • Passes unit tests on MacOS
  • [n/a] Functional testing

@taldcroft taldcroft merged commit 2c31c34 into master Mar 26, 2022
@javierggt javierggt mentioned this pull request Apr 21, 2022
@javierggt javierggt mentioned this pull request Aug 3, 2022
@javierggt javierggt deleted the allow-bytes-input branch January 5, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants