Skip to content

dateToSerial should round output #49

Description

@borgar

Something like 18:22:35 will yield 0.7656828703693463 which has "useless" decimals beyond the ninth:

0.765682864 => "18:22:34.999"
0.765682865 => "18:22:35.000"
0.765682876 => "18:22:35.000"
0.765682877 => "18:22:35.001"

It may be misleading to emit this amount of precision when the library does not really support it in any other date handling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions