Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117475746
D674.1774843206.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
754 B
Referenced Files
None
Subscribers
None
D674.1774843206.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 4:00 AM (1 w, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18791460
Default Alt Text
D674.1774843206.diff (754 B)
Attached To
Mode
D674: Let iRony handle AD date-time format
Attached
Detach File
Event Timeline