Bug with dates (should respect timezones)
slaFFik opened this issue · 0 comments
slaFFik commented
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.