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:
parent
5a46233e46
commit
e438ae94dd
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue