Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #4573, comment 13


Ignore:
Timestamp:
03/11/2013 01:23:15 AM (12 years ago)
Author:
shanebp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4573, comment 13

    initial v1  
    88> - WP has a more thorough function `get_date_from_gmt()` that might be better to use
    99I 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 ?
     10But `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 ?
    1111Maybe 'bp_format_time()' in bp-core-template.php should use 'current_time' instead of 'gmt_offset' ?