-
Notifications
You must be signed in to change notification settings - Fork 113
Cannot read DicomTime value with millisecond precision #663
Copy link
Copy link
Closed
Labels
Description
Discussed in #662
Originally posted by rjuengling-hf July 21, 2025
I encountered input that includes a DICOM time value with millisecond precision. This API does not let me read out the millisecond fraction, though. Why is that?
Using dicom-rs, what is the recommended way of reading time values that works for any precision?
#662 (comment) Thank you for spotting that. It may have been overlooked in the current design of the date-time API. We probably need to change
fraction()to be more relaxed in the presence of any decimals, and offer more methods to fetch the fraction of a second with the requested precision.
Reactions are currently unavailable