Page MenuHomePhorge

D674.1775476108.diff
No OneTemporary

Authored By
Unknown
Size
754 B
Referenced Files
None
Subscribers
None

D674.1775476108.diff

diff --git a/irony/lib/Kolab/CardDAV/LDAPDirectory.php.orig b/irony/lib/Kolab/CardDAV/LDAPDirectory.php
--- a/irony/lib/Kolab/CardDAV/LDAPDirectory.php.orig
+++ b/irony/lib/Kolab/CardDAV/LDAPDirectory.php
@@ -417,6 +417,8 @@
}
else if (!empty($contact['changed'])) {
try {
+ // 2018 05 14 06 22 31 .0Z 2018-05-14T06:22:31
+ $contact['changed'] = preg_replace('/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.0Z$/', '$1-$2-$3T$4:$5:$6', $contact['changed']);
$contact['changed'] = new \DateTime($contact['changed']);
$contact['_timestamp'] = intval($contact['changed']->format('U'));
}

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 11:48 AM (5 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18791460
Default Alt Text
D674.1775476108.diff (754 B)

Event Timeline