Skip to content

diffDays = 0.9583333333333334 between 2 timezones #26

@andreimc

Description

@andreimc

x = new XDate('Sun Jun 29 2014 00:00:00 GMT+1000 (EST)')
y = new XDate("Mon Jun 30 2014 00:00:00 GMT+1100 (EST)")

x.diffDays(y)

result is 0.9583333333333334

should be 1 maybe ? basically if the time changes tomorrow you get the wrong value

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