Changeset 45424 for trunk/src/wp-includes/IXR/class-IXR-date.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/IXR/class-IXR-date.php
r42201 r45424 38 38 function parseTimestamp($timestamp) 39 39 { 40 $this->year = date('Y', $timestamp);41 $this->month = date('m', $timestamp);42 $this->day = date('d', $timestamp);43 $this->hour = date('H', $timestamp);44 $this->minute = date('i', $timestamp);45 $this->second = date('s', $timestamp);40 $this->year = gmdate('Y', $timestamp); 41 $this->month = gmdate('m', $timestamp); 42 $this->day = gmdate('d', $timestamp); 43 $this->hour = gmdate('H', $timestamp); 44 $this->minute = gmdate('i', $timestamp); 45 $this->second = gmdate('s', $timestamp); 46 46 $this->timezone = ''; 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.