summaryrefslogtreecommitdiff
path: root/src/main/groovy/org
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-03-10 21:37:04 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-03-10 21:37:04 +0100
commitade89998918bde44fbe6adb33bcc6fc677587adc (patch)
tree2f93f36ce9887d336cedf424bdddf7f32c175beb /src/main/groovy/org
parent40a1123d4ef79aef7e785533520ded7dc5149fb0 (diff)
downloadglocals-classifieds-ade89998918bde44fbe6adb33bcc6fc677587adc.tar.gz
glocals-classifieds-ade89998918bde44fbe6adb33bcc6fc677587adc.zip
fix model dateparsingHEADmaster
Diffstat (limited to 'src/main/groovy/org')
-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))