aboutsummaryrefslogtreecommitdiff
path: root/app/class/art2.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-09 12:10:16 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-09 12:10:16 +0100
commitae0693d074a63412e7ab9587520096cb60a48e64 (patch)
tree269cbfb204858f8a6b47f061abdc0101878de2d8 /app/class/art2.php
parent0cdf3e007ee05880ed290865ecd911bbf508d565 (diff)
downloadwcms-ae0693d074a63412e7ab9587520096cb60a48e64.tar.gz
wcms-ae0693d074a63412e7ab9587520096cb60a48e64.zip
media parser
Diffstat (limited to 'app/class/art2.php')
-rw-r--r--app/class/art2.php2
1 files changed, 2 insertions, 0 deletions
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');
}