mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
fix date format
This commit is contained in:
parent
4f0c585f78
commit
fdbc6a0878
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ namespace models;
|
||||||
*/
|
*/
|
||||||
public function count_since_for_phone_and_user(int $id_user, int $id_phone, \DateTime $since) : int
|
public function count_since_for_phone_and_user(int $id_user, int $id_phone, \DateTime $since) : int
|
||||||
{
|
{
|
||||||
return $this->_count('sended', ['id_user' => $id_user, 'id_phone' => $id_phone, '>=at' => $since]);
|
return $this->_count('sended', ['id_user' => $id_user, 'id_phone' => $id_phone, '>=at' => $since->format('c')]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue