Opened 21 years ago
Closed 21 years ago
#2036 closed defect (bug) (fixed)
IXR_Date->getIso returning incorrect data
| Reported by: | devlogic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | date getIso timezone |
| Cc: | Focuses: |
Description
After several weeks of wondering why posts via xmlrpc were incorrectly showing up in the "future posts" section, I think I've discovered a bug in the returned data from IXR_Date->getIso: While parseIso is getting the timezone from the passed ISO date data, getIso is not returning the timezone, causing a mis-calculation wherein the post_date_gmt variable is padded by the TZ offset twice. Adding ".$this->timezone" into the return statement on line 628 of wp-includes/class-IXR.php seems to fix the problem.
This "bug" is present in the nightly build for 2005-12-07.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3279]) Add timezone to iso8601 timestamp. Props devlogic. fixes #2036