WordPress.org

Make WordPress Core

Ticket #8869: formatting.diff

File formatting.diff, 629 bytes (added by CharlesClarkson, 9 years ago)
  • C:\Users\Charles\

    old new  
    13571357 * Returns a date in the GMT equivalent. 
    13581358 * 
    13591359 * Requires and returns a date in the Y-m-d H:i:s format. Simply subtracts the 
    1360  * value of gmt_offset. 
     1360 * value of the 'gmt_offset' option. 
    13611361 * 
    13621362 * @since 1.2.0 
    13631363 * 
     1364 * @uses get_option() to retrieve the the value of 'gmt_offset'. 
    13641365 * @param string $string The date to be converted. 
    13651366 * @return string GMT version of the date provided. 
    13661367 */