Permalink
Browse files

kryo2: bugfix missing locale in date format

  • Loading branch information...
1 parent 2336f01 commit da7331c26e11a57af95ca7984e1a02ca2d928646 @michaelmosmann michaelmosmann committed Jul 10, 2013
@@ -22,6 +22,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;
+import java.util.Locale;
import org.wicketstuff.pageserializer.kryo2.inspecting.analyze.ISerializedObjectTree;
@@ -41,7 +42,7 @@ public String keyOf(ISerializedObjectTree tree) {
}
protected static String format(String pattern, Date currentTime) {
- return new SimpleDateFormat(pattern).format(currentTime);
+ return new SimpleDateFormat(pattern,Locale.GERMAN).format(currentTime);
}
public static IReportKeyGenerator withMilliseconds() {

0 comments on commit da7331c

Please sign in to comment.