Skip to content

Start/End dates without times mis-translated into node server TZ #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
drauschenbach opened this issue Nov 5, 2011 · 2 comments
Closed

Comments

@drauschenbach
Copy link

In a VEVENT, an all-day event is represented with a start and end date, without time information:

DTSTART;VALUE=DATE:20111108
DTEND;VALUE=DATE:20111111

These values are placed into a javascript Date object, and then adjusted from GMT into the server timezone (GMT-0700 in my case). This gives me a start and end date of 7 hours before midnight. And since the date is no longer midnight, I lose the ability to discover whether it's an all-day event.

@peterbraden
Copy link
Owner

Removed the UTC conversion.

@drauschenbach
Copy link
Author

Confirmed fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants