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

Requested Date time is incorrect #122

Closed
Drewster727 opened this issue Mar 30, 2016 · 3 comments
Closed

Requested Date time is incorrect #122

Drewster727 opened this issue Mar 30, 2016 · 3 comments
Assignees

Comments

@Drewster727
Copy link
Contributor

Requested a movie/show, then go check when it was requested, mine says "5 hours ago" even though it was requested less than a minute ago.

I think we're doing just a simple DateTime.Now when saving requests. We probably need to start storing this in UTC and convert as necessary.

@tidusjar
Copy link
Member

We are doing a DateTime.Now which will return the local computer time that the code is running, I'm assuming your server doesn't have it's clock set correctly?

I agree using UTC and then converting it is the better way to do it, but If we are going to do this we will need to store the Users timezone and then also the requesting users timezone so it also appears correct for them.

@Drewster727
Copy link
Contributor Author

The time clock is properly set to my time zone so I don't know how this could be. Reproduced on my dev windows box and prod linux box.

@Drewster727 Drewster727 self-assigned this Mar 31, 2016
@Drewster727 Drewster727 added this to the Release v1.6.0 milestone Mar 31, 2016
Drewster727 pushed a commit that referenced this issue Apr 1, 2016
…ient upon login + offset times returned to client based on session offset
@Drewster727
Copy link
Contributor Author

fixed

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

No branches or pull requests

2 participants