diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-03-10 21:37:04 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-03-10 21:37:04 +0100 |
commit | ade89998918bde44fbe6adb33bcc6fc677587adc (patch) | |
tree | 2f93f36ce9887d336cedf424bdddf7f32c175beb /src/main | |
parent | 40a1123d4ef79aef7e785533520ded7dc5149fb0 (diff) | |
download | glocals-classifieds-master.tar.gz glocals-classifieds-master.zip |
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/groovy/org/xapek/yvesf/classifieds/Model.groovy | 2 |
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)) |