Revert change of timestamp format

Reverting the change of format of the timestamp that gets saved into episode_action table.
Reason: The 'T' was in there so that the timestamp format is like AntennaPod's timestamp format.
This commit is contained in:
Jonathan Flueren 2021-07-24 20:11:42 +02:00
parent 5a46233e46
commit e438ae94dd
1 changed files with 1 additions and 1 deletions

View File

@ -112,6 +112,6 @@ class EpisodeActionController extends Controller {
{ {
return \DateTime::createFromFormat('D F d H:i:s T Y', $timestamp) return \DateTime::createFromFormat('D F d H:i:s T Y', $timestamp)
->setTimezone(new DateTimeZone('UTC')) ->setTimezone(new DateTimeZone('UTC'))
->format("Y-m-d H:i:s"); ->format("Y-m-d\TH:i:s");
} }
} }