Replaced "api_date"

This commit is contained in:
Michael 2021-11-18 21:43:13 +00:00
parent 2d5989a6bd
commit 1f79d25ffc
5 changed files with 9 additions and 20 deletions

View file

@ -48,7 +48,7 @@ class RateLimitStatus extends BaseApi
'reset_time_in_seconds' => strtotime('now + 1 hour'),
'remaining_hits' => '150',
'hourly_limit' => '150',
'reset_time' => api_date(DateTimeFormat::utc('now + 1 hour', DateTimeFormat::ATOM)),
'reset_time' => DateTimeFormat::utc('now + 1 hour', DateTimeFormat::API),
];
}