Move ATOM_TIME to Temporal::ATOM

This commit is contained in:
Hypolite Petovan 2018-01-25 21:33:43 -05:00
commit b854905150
9 changed files with 30 additions and 30 deletions

View file

@ -107,8 +107,8 @@ class OnePoll
}
$last_update = (($contact['last-update'] <= NULL_DATE)
? Temporal::convert('now - 7 days', 'UTC', 'UTC', ATOM_TIME)
: Temporal::convert($contact['last-update'], 'UTC', 'UTC', ATOM_TIME)
? Temporal::convert('now - 7 days', 'UTC', 'UTC', Temporal::ATOM)
: Temporal::convert($contact['last-update'], 'UTC', 'UTC', Temporal::ATOM)
);
// Update the contact entry