Skip to content

Commit

Permalink
DTSTAMP must be specified in UTC (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tragen authored and staabm committed Oct 26, 2018
1 parent 18e76a3 commit a2a813d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Component/VEvent.php
Expand Up @@ -83,7 +83,7 @@ protected function getDefaults()
{
return [
'UID' => 'sabre-vobject-'.VObject\UUIDUtil::getUUID(),
'DTSTAMP' => date('Ymd\\THis\\Z'),
'DTSTAMP' => gmdate('Ymd\\THis\\Z'),
];
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Component/VJournal.php
Expand Up @@ -98,7 +98,7 @@ protected function getDefaults()
{
return [
'UID' => 'sabre-vobject-'.VObject\UUIDUtil::getUUID(),
'DTSTAMP' => date('Ymd\\THis\\Z'),
'DTSTAMP' => gmdate('Ymd\\THis\\Z'),
];
}
}

0 comments on commit a2a813d

Please sign in to comment.