dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f6120
)
Live hack: don't blow up on empty/broken timestamps. (It will however output wrong...
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 5 Sep 2005 07:27:08 +0000
(07:27 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 5 Sep 2005 07:27:08 +0000
(07:27 +0000)
includes/SpecialExport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
1ce1f4f
..
d15971b
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-410,7
+410,7
@@
class WikiExporter {
function wfTimestamp2ISO8601( $ts ) {
#2003-08-05T18:30:02Z
- return preg_replace( '/^(....)(..)(..)(..)(..)(..)$/', '$1-$2-$3T$4:$5:$6Z',
$ts
);
+ return preg_replace( '/^(....)(..)(..)(..)(..)(..)$/', '$1-$2-$3T$4:$5:$6Z',
wfTimestamp( TS_MW, $ts )
);
}
function xmlsafe( $string ) {