Page MenuHomePhorge

D674.1775449033.diff
No OneTemporary

Authored By
Unknown
Size
730 B
Referenced Files
None
Subscribers
None

D674.1775449033.diff

diff --git a/lib/Kolab/CardDAV/LDAPDirectory.php.orig b/lib/Kolab/CardDAV/LDAPDirectory.php
--- a/lib/Kolab/CardDAV/LDAPDirectory.php.orig
+++ b/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, 4:17 AM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18835584
Default Alt Text
D674.1775449033.diff (730 B)

Event Timeline