Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -209,6 +209,8 @@ |
210 | 210 | prevent inheritance to nested tables which caused various issues |
211 | 211 | * (bug 32686) Tooltip on links to non-existing pages are now always in user's |
212 | 212 | language |
| 213 | +* (bug 33454) ISO-8601 week-based year number (format character 'o') is now |
| 214 | + calculated correctly with respect to timezone |
213 | 215 | |
214 | 216 | === API changes in 1.19 === |
215 | 217 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -1045,7 +1045,7 @@ |
1046 | 1046 | if ( !$unix ) { |
1047 | 1047 | $unix = wfTimestamp( TS_UNIX, $ts ); |
1048 | 1048 | } |
1049 | | - $num = date( 'o', $unix ); |
| 1049 | + $num = gmdate( 'o', $unix ); |
1050 | 1050 | break; |
1051 | 1051 | case 'Y': |
1052 | 1052 | $num = substr( $ts, 0, 4 ); |