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

Birthday Date is saved off by one. #1458

Closed
Ardnived opened this issue Feb 3, 2016 · 6 comments
Closed

Birthday Date is saved off by one. #1458

Ardnived opened this issue Feb 3, 2016 · 6 comments

Comments

@Ardnived
Copy link

Ardnived commented Feb 3, 2016

Whenever I or any other use on our site saves their birthday, the date gets reduces by 1 day.

For example:
7/4/92 becomes 7/3/92
7/1/92 becomes 6/30/92

We are using Humhub 1.0.0-beta.3

@luke-
Copy link
Contributor

luke- commented Feb 26, 2016

Can you please check timezone settings at:

Administration -> Basic -> Timezone

@Ardnived
Copy link
Author

Our timezone is set to

UTC+01:00 - Europe/Malta

This error has been reported by people in UTC+0, and verified by myself at UTC-8

That timezeon (UTC+1) is set to correspond to our server location, previously it was set to another timezone and everyone saw the wrong times (posts created minutes ago, would say 1 hour ago)

Surely though, the birthday date should be set independent of timezone.

@luke-
Copy link
Contributor

luke- commented Feb 26, 2016

So anything works with correct timezone?
Yes, we should to switch the database field to date only.

@Ardnived
Copy link
Author

Other dates are all fine, but the issue with the birthday remains.

@luke-
Copy link
Contributor

luke- commented Feb 26, 2016

Can you reproduce that on our hosting or community with same timezone & locale/language?

@Ardnived
Copy link
Author

Yes, the error occurs on your hosting.

The key settings for me that produced it seem to be having the server timezone at UTC+1 and my account timezone at UTC-8.

Appears to be a timezone issue, in which case this error might only occur when it is a different current date in those two timezones (meaning after 3pm UTC-8)

@luke- luke- added the Kind:BUG label Feb 27, 2016
@luke- luke- closed this as completed in afc0f61 Feb 27, 2016
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