Skip to content

DateTime class calculates a wrong day #560

@zhouxingbei

Description

@zhouxingbei

When time in the small gap, 23:59:59:999979 - 23:59:59:999999 (around 21 micro seconds), the day in DateTime will turn to be a new day.
Most likely the issue comes from the method julianDay(), as round emission in the double value calculation .

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions