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

Time and timestamp conversion #66

Open
roaldarbol opened this issue Nov 13, 2024 · 0 comments
Open

Time and timestamp conversion #66

roaldarbol opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@roaldarbol
Copy link
Owner

roaldarbol commented Nov 13, 2024

Following on from this conversation on zulip, I think it would be great to have methods to access both time (since start, in whichever unit, see #59).

The proposition is to:

  1. Encode start_time as a metadata field (needs to have Add metadata #19 implemented in some form)
  2. start_time can be either a numeric/ difftime in which case it's the time since 0 that tracking should begin (enything before should be NA) or a datetime timestamp.
  3. Have methods for converting between difftime (not the class, just time since start) and timestamp.
  4. Ensure that further methods do not encounter issues with timestamps - such as calculate_ functions
@roaldarbol roaldarbol added the enhancement New feature or request label Nov 13, 2024
@roaldarbol roaldarbol added this to the Version 1.0 milestone Nov 13, 2024
@roaldarbol roaldarbol moved this to 🔬 Triage in animovement progress Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🔬 Triage
Development

No branches or pull requests

1 participant