meteor_supercalendar
meteor_supercalendar copied to clipboard
Issue with time zone on the front end
How to reproduce:
- When i create an event on a date with "I dont know the time", I think its trying to create event IN GMT with time=00:00. my intention is to create event with time stamp: 23 April 00:00 Pacific
- event got created successfully with 23 April 00:00 GMT = 22 April 17:00 local
- UI automaticallt adjusts to my local TZ (PST) and shows new event with 22 april 17:00
- I feel in step 1, the event should be created in local TZ
Makes sense. May be easy to fix.
I've created an event without time and this is what I've got:
It's GMT-0300 (BRT) and it is correct for my TZ. In this case, what is the output you expect to be?
I think it should be: Tue Apr 21 2015 00:00:00 BRT
Reason: the UI is always in the local time zone (I think)
On Mon, Apr 20, 2015 at 2:15 PM, Gabriel H Pugliese < [email protected]> wrote:
I've created an event without time and this is what I've got: [image: image] https://cloud.githubusercontent.com/assets/1252818/7240642/ff5e224c-e788-11e4-9df4-2a35724e1bcc.png
It's GMT-0300 (BRT) and it is correct for my TZ. In this case, what are the output you expect to be?
— Reply to this email directly or view it on GitHub https://github.com/gabrielhpugliese/meteor_supercalendar/issues/8#issuecomment-94570785 .
But it is 00:00:00 BRT! :)
"When: Tue Apr 21 2015 00:00:00 GMT-0300 0(BRT)"
Sorry my bad , then I think the UI calendar is showing the time in GMT only and not local time zone? If this is the case it is ok, but not very understandable.
On Mon, Apr 20, 2015 at 4:00 PM, Gabriel H Pugliese < [email protected]> wrote:
"When: Tue Apr 21 2015 00:00:00 GMT-0300 0(BRT)"
— Reply to this email directly or view it on GitHub https://github.com/gabrielhpugliese/meteor_supercalendar/issues/8#issuecomment-94587848 .
Are you trying to deploy on a server with a different TZ?
No I am not. I found this while testing in your sample meteor app. And I am in pacific time zone .
On Apr 20, 2015, at 6:42 PM, Gabriel H Pugliese [email protected] wrote:
Are you trying to deploy on a server with a different TZ?
— Reply to this email directly or view it on GitHub.
Oh I see. The server may be in another timezone and I think that is the problem. Going to debug it better!
On Tue, Apr 21, 2015 at 1:26 PM theroadrunnershow [email protected] wrote:
No I am not. I found this while testing in your sample meteor app. And I am in pacific time zone .
On Apr 20, 2015, at 6:42 PM, Gabriel H Pugliese < [email protected]> wrote:
Are you trying to deploy on a server with a different TZ?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/gabrielhpugliese/meteor_supercalendar/issues/8#issuecomment-94861334 .