mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-01 18:48:17 +00:00
Local update.
Merge branch 'master' of https://gitlab.com/davical-project/davical
This commit is contained in:
commit
4f6e3ecd84
@ -98,6 +98,11 @@ elseif( preg_match('{^(\d{8})(\d{6})Z?}', $last_modified, $matches) ) {
|
||||
$vcard->ClearProperties('REV');
|
||||
$vcard->AddProperty('REV',$last_modified);
|
||||
}
|
||||
elseif( !preg_match('{^\d{8}T\d{6}Z$}', $last_modified) ) {
|
||||
$last_modified = gmdate( 'Ymd\THis\Z' );
|
||||
$vcard->ClearProperties('REV');
|
||||
$vcard->AddProperty('REV',$last_modified);
|
||||
}
|
||||
|
||||
$rendered_card = $vcard->Render();
|
||||
$etag = md5($rendered_card);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user