mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-22 02:04:19 +00:00
Compare commits
2 Commits
026347f53e
...
22a9b94bae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22a9b94bae | ||
|
|
85c61ad601 |
@ -887,7 +887,7 @@ function sync_LDAP(){
|
|||||||
$$k = substr($ldap_timestamp,$v[0],$v[1]);
|
$$k = substr($ldap_timestamp,$v[0],$v[1]);
|
||||||
$ldap_timestamp = $Y.$m.$d.$H.$M.$S;
|
$ldap_timestamp = $Y.$m.$d.$H.$M.$S;
|
||||||
}
|
}
|
||||||
else if ( preg_match('{^(\d{8})(\d{6})(Z)?$', $ldap_timestamp, $matches ) ) {
|
else if ( preg_match('{^(\d{8})(\d{6})(Z)?$}', $ldap_timestamp, $matches ) ) {
|
||||||
$ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3];
|
$ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3];
|
||||||
}
|
}
|
||||||
else if ( empty($ldap_timestamp) ) {
|
else if ( empty($ldap_timestamp) ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user