Fix RenderGMT() to render GMT correctly.

This commit is contained in:
Andrew McMillan 2010-04-16 12:45:17 +12:00
parent f85b9d7765
commit e8b722f9e1

View File

@ -178,7 +178,7 @@ class iCalDate {
* Render the date as GMT
*/
function RenderGMT( $fmt = 'Ymd\THis\Z' ) {
return gmdate( $fmt, $this->_epoch );
return date( $fmt, $this->_epoch );
}