summaryrefslogtreecommitdiff
path: root/src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy')
-rw-r--r--src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy b/src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy
index 1887f30..6cbdc6e 100644
--- a/src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy
+++ b/src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy
@@ -74,7 +74,7 @@ class Model {
}
}
- final static SimpleDateFormat dateParser = new SimpleDateFormat('MMM dd, yy', Locale.GERMANY)
+ final static SimpleDateFormat dateParser = new SimpleDateFormat('MMM dd, yy', Locale.ENGLISH)
final static SimpleDateFormat dateFormatter = new SimpleDateFormat('EEE, dd MMM yyyy HH:mm:ss Z', Locale.ROOT)
String getFormattedDate() {
return dateFormatter.format(dateParser.parse(date))