-
Notifications
You must be signed in to change notification settings - Fork 34
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
Repeating Events - Time is off #116
Comments
Hmmmm interesting, I'll have to look and see if I can reproduce this. I'm thinking it's due to the server being in a different time zone from your computer. Handling dates is really tricky. |
The server is set to Eastern (EST) the same as my computer Duane |
Hi, just wondering if you have any idea how I can fix this issue? Duane |
I haven't had time to look into it yet |
Hi, I changed the server time from the correct Eastern time, to UTC and now the repeating events have the right time.
I guess the server has to be set to UTC for it to work properly
…________________________________
From: Peter Jaszkowiak <notifications@github.com>
Sent: March 2, 2019 8:16 PM
To: pitaj/nodebb-plugin-calendar
Cc: sharked76; Author
Subject: Re: [pitaj/nodebb-plugin-calendar] Repeating Events - Time is off (#116)
I haven't had time to look into it yet
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#116 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/At2BvUiOB9Cq55SA1IT9Mwc795x_Ahe8ks5vStwVgaJpZM4bXn_z>.
|
That shouldn't be necessary, I'll look into fixing it when I have time. |
I did notice that when you are creating an event you get time in 12 hour am/pm format, but on the calendar view page its in 24 hour format, is there a setting somewhere to make the calendar display 12 hour am/pm format?
…________________________________
From: Peter Jaszkowiak <notifications@github.com>
Sent: March 12, 2019 11:04 PM
To: pitaj/nodebb-plugin-calendar
Cc: sharked76; Author
Subject: Re: [pitaj/nodebb-plugin-calendar] Repeating Events - Time is off (#116)
That shouldn't be necessary, I'll look into fixing it when I have time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#116 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/At2BvU6CDb-qLIKzDvvECaahQLwDLcDUks5vWDKWgaJpZM4bXn_z>.
|
Further update to this issue, its still happening and I noticed that when the server adjusts its time automatically from the time server for day light savings time, the existing events in the calendar all become off by 1 hour. For example, day light savings time will start again next week, once the server changes its time forward, the events in NodeBB will be showing the wrong time in the Calendar view again. If after Daylight savings time is active and I go and delete the event and recreate it, then it shows the correct time, at least until November when the time changes again. |
I know why this is happening, but fixing it is non-trivial. It will require a pretty big modification to the way datetimes are stored. |
I setup some events, and I set them to repeat weekly.
When I look at the events they show correctly, for example:
You can see in those 2 events, 1 is set for Wednesdays every week from 13:00 to 17:00, the other one is set for Thursdays every week from 18:30 to 21:30
However when you look at the calendar, the 1st entry is correct, but the 1st time it does the repeat its increasing the time by 1 hour. This is happening for all events.
You can see Monday Club night is set for 19:00 but it changed to 20:00, Trap & Skeet on Sundays is set for 09:00 but it changed to 10:00, etc, etc
Can you advise why the recurring event is increasing by 1 hour?
Thanks
Duane
The text was updated successfully, but these errors were encountered: