mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
Add a RenderGMT() method to iCalDate.
This commit is contained in:
parent
2706174b8d
commit
1fba1ff769
@ -173,6 +173,14 @@ class iCalDate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render the date as GMT
|
||||||
|
*/
|
||||||
|
function RenderGMT( $fmt = 'Ymd\THis\Z' ) {
|
||||||
|
return gmdate( $fmt, $this->_epoch );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* No of days in a month 1(Jan) - 12(Dec)
|
* No of days in a month 1(Jan) - 12(Dec)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user