From ae0693d074a63412e7ab9587520096cb60a48e64 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 9 Dec 2018 12:10:16 +0100 Subject: media parser --- app/class/art2.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/class/art2.php') diff --git a/app/class/art2.php b/app/class/art2.php index 6a61687..2029895 100644 --- a/app/class/art2.php +++ b/app/class/art2.php @@ -169,6 +169,8 @@ class Art2 return $this->date->format('Y-m-d'); } elseif ($option == 'ptime') { return $this->date->format('H:i'); + } elseif ($option = 'dmy') { + return $this->date->format('d/m/Y'); } -- cgit v1.2.3