mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +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)
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user