Skip to content
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

Issue with time zone on the front end #8

Open
theroadrunnershow opened this issue Apr 20, 2015 · 9 comments
Open

Issue with time zone on the front end #8

theroadrunnershow opened this issue Apr 20, 2015 · 9 comments
Labels

Comments

@theroadrunnershow
Copy link

How to reproduce:

  1. 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
  2. event got created successfully with 23 April 00:00 GMT = 22 April 17:00 local
  3. UI automaticallt adjusts to my local TZ (PST) and shows new event with 22 april 17:00
  4. I feel in step 1, the event should be created in local TZ
@gabrielhpugliese
Copy link
Owner

Makes sense. May be easy to fix.

@gabrielhpugliese
Copy link
Owner

I've created an event without time and this is what I've got:
image

It's GMT-0300 (BRT) and it is correct for my TZ.
In this case, what is the output you expect to be?

@theroadrunnershow
Copy link
Author

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
#8 (comment)
.

@gabrielhpugliese
Copy link
Owner

But it is 00:00:00 BRT! :)

@gabrielhpugliese
Copy link
Owner

"When: Tue Apr 21 2015 00:00:00 GMT-0300 0(BRT)"

@theroadrunnershow
Copy link
Author

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
#8 (comment)
.

@gabrielhpugliese
Copy link
Owner

Are you trying to deploy on a server with a different TZ?

@theroadrunnershow
Copy link
Author

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.

@gabrielhpugliese
Copy link
Owner

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
#8 (comment)
.

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

No branches or pull requests

2 participants