From e438ae94dd65a987935fb70a712c7d4887bd8ffb Mon Sep 17 00:00:00 2001 From: Jonathan Flueren <11487762+JonOfUs@users.noreply.github.com> Date: Sat, 24 Jul 2021 20:11:42 +0200 Subject: [PATCH] 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. --- lib/Controller/EpisodeActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/EpisodeActionController.php b/lib/Controller/EpisodeActionController.php index d7fa3d5..8f17220 100644 --- a/lib/Controller/EpisodeActionController.php +++ b/lib/Controller/EpisodeActionController.php @@ -112,6 +112,6 @@ class EpisodeActionController extends Controller { { return \DateTime::createFromFormat('D F d H:i:s T Y', $timestamp) ->setTimezone(new DateTimeZone('UTC')) - ->format("Y-m-d H:i:s"); + ->format("Y-m-d\TH:i:s"); } }