Open tholum opened 5 years ago
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
3/20/19 3/19/19
I am seeing something similar. today at 12:00 comes out as today but today at 11:00 comes out as tomorrow. This is really unfortunate. Can we expect a fix for this?
today at 12:00
today at 11:00
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