r877: Use gmdate() not $datef->format()
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 29 Jun 2006 05:09:18 +0000 (05:09 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 29 Jun 2006 05:09:18 +0000 (05:09 +0000)
syndicate.php

index 13695fb21f980fcf37a3b828a8c54f8d9ad22282..cb6686110d237a4b5d09a69cb151c83f9bd3adbc 100644 (file)
@@ -73,7 +73,7 @@ if (SYND_TYPE == 'atom')
 
        <title>' . sprintf($lang->string('%1$s Syndication Feed'), $bugsys->options['trackertitle']) . '</title>
        <link href="' . $bugsys->options['trackerurl'] . '"/>
-       <updated>' . $datef->format('Y-m-d\TH:i:s\Z', $lastupdated) . '</updated>
+       <updated>' . gmdate('Y-m-d\TH:i:s\Z', $lastupdated) . '</updated>
        
        <!-- entries -->
        ';
@@ -84,7 +84,7 @@ if (SYND_TYPE == 'atom')
        <entry>
                <id>' . $bugsys->options['trackertitle'] . '/showreport.php?bugid=' . $bug['bugid'] . '</id>
                <title>' . $bug['summary'] . '</title>
-               <updated>' . $datef->format('Y-m-d\TH:i:s\Z', $bug["$timestamp"]) . '</updated>
+               <updated>' . gmdate('Y-m-d\TH:i:s\Z', $bug["$timestamp"]) . '</updated>
                <author>
                        <name>' . $bug['username'] . '</name>
                </author>