Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Skipping sync of users that are already up to date from last known date #6

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

halkyon
Copy link
Contributor

@halkyon halkyon commented Mar 24, 2015

No description provided.

* @return string
*/
public static function convert_date_to_ymd($value) {
$date = DateTime::createFromFormat('YmdHis.0Z', $value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a note here that LDAP uses GeneralizedTime format, and that we assume it will never supply tenths-of-a-second (i.e. this is always zero) and that it will always supply it as UTC (i.e. Z at the end). At least I hope these assertions hold...

mateusz added a commit that referenced this pull request Mar 24, 2015
Skipping sync of users that are already up to date from last known date
@mateusz mateusz merged commit bfd0379 into silverstripe:master Mar 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants