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:
2b0e034
)
timestamp fix
author
Domas Mituzas
<midom@users.mediawiki.org>
Tue, 7 Sep 2004 06:56:44 +0000
(06:56 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Tue, 7 Sep 2004 06:56:44 +0000
(06:56 +0000)
includes/Feed.php
patch
|
blob
|
history
diff --git
a/includes/Feed.php
b/includes/Feed.php
index
f50d7ee
..
8b36446
100644
(file)
--- a/
includes/Feed.php
+++ b/
includes/Feed.php
@@
-1,4
+1,5
@@
<?php
<?php
+# $Id$
# Basic support for outputting syndication feeds in RSS, other formats
#
# Copyright (C) 2004 Brion Vibber <brion@pobox.com>
# Basic support for outputting syndication feeds in RSS, other formats
#
# Copyright (C) 2004 Brion Vibber <brion@pobox.com>
@@
-170,7
+171,7
@@
class RSSFeed extends ChannelFeed {
* @return string Date string
*/
function formatTime( $ts ) {
* @return string Date string
*/
function formatTime( $ts ) {
- return gmdate( 'D, d M Y H:i:s \G\M\T', wfTimestamp
2Unix(
$ts ) );
+ return gmdate( 'D, d M Y H:i:s \G\M\T', wfTimestamp
( TS_UNIX,
$ts ) );
}
/**
}
/**
@@
-229,7
+230,7
@@
class AtomFeed extends ChannelFeed {
*/
function formatTime( $ts ) {
// need to use RFC 822 time format at least for rss2.0
*/
function formatTime( $ts ) {
// need to use RFC 822 time format at least for rss2.0
- return gmdate( 'Y-m-d\TH:i:s', wfTimestamp
2Unix(
$ts ) );
+ return gmdate( 'Y-m-d\TH:i:s', wfTimestamp
( TS_UNIX,
$ts ) );
}
/**
}
/**