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

Bug with dates (should respect timezones) #8

Open
slaFFik opened this issue Nov 20, 2012 · 0 comments
Open

Bug with dates (should respect timezones) #8

slaFFik opened this issue Nov 20, 2012 · 0 comments
Assignees
Labels

Comments

@slaFFik
Copy link
Owner

slaFFik commented Nov 20, 2012

This plugin has an issue with the way it handles timezones for date fields.

So the date goes into the database from buddypress as 2011-11-09 00:00:00
that's just a date though, an arbitrary denoting of time
the plugin uses strtotime which converts that arbitrary string into a timestamp, aka unixtime, which starts at utc or gmt.

My buddypress install is on pacific time, which means that profile date fields were showing up as a day off because the plugin uses GMT without recognizing the local install's timezone.

@ghost ghost assigned slaFFik Nov 20, 2012
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

1 participant