Move ATOM_TIME to Temporal::ATOM
This commit is contained in:
parent
c0e2ee95c5
commit
b854905150
9 changed files with 30 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue