Skip to content

Today is tomorrow #92

@tholum

Description

@tholum

Today at 1am, comes up as tomorrow at one, for example it is 3/19 right now, but if I do "today at 1am" it gives me 3/20 1am,

I am in cst, and tested it when my timezone is the same day as utc, so it does not seem to be a timezone issue

describe("today issue", function() { it("test today", () => { const date = parse("today at 1am"); console.log(d(date), d(new Date())); assert(d(date) == d(new Date())); }); });

the console.log is
3/20/19 3/19/19

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