Changes between Initial Version and Version 1 of Ticket #4573, comment 13
- Timestamp:
- 03/11/2013 01:23:15 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4573, comment 13
initial v1 8 8 > - WP has a more thorough function `get_date_from_gmt()` that might be better to use 9 9 I used the 'current_time' function because it always gets the local timezone, if set. 10 But `get_date_from_gmt()` relies on 'gmt_offset' which, don't know why, is often empty re the option value. Clue ?10 But `get_date_from_gmt()` relies on 'gmt_offset' which, don't know why, is often empty in the db value column for that option. Clue ? 11 11 Maybe 'bp_format_time()' in bp-core-template.php should use 'current_time' instead of 'gmt_offset' ?