Extend DateBone
to allow for time values with microseconds
#790
Labels
help wanted
Extra attention is needed
DateBone
to allow for time values with microseconds
#790
There are several issues that confuse or point out a todo for a
DateBone
supporting microseconds. There was also a request from a customer project. Therefore this issue is created.The reason for setting the microseconds to 0 is, that additional, project-specific program code might rely on a datetime-object which is the exact time to seconds, without microseconds. In the past, I had a use-case where this was a big problem and why it was added. microseconds should only be set when the DateBone is in a yet not existing time-with-microseconds-mode.
I would like to take this PR for now as is. We can later change the behavior to respect microseconds when this is configured so.
Originally posted by @phorward in #785 (comment)
The text was updated successfully, but these errors were encountered: