fix YYYY -> yyyy in Fanction support
authorNiki <david.roulet@uclouvain.be>
Mon, 14 Oct 2019 06:44:21 +0000 (08:44 +0200)
committerNiki <david.roulet@uclouvain.be>
Mon, 14 Oct 2019 06:44:21 +0000 (08:44 +0200)
src/be/nikiroo/fanfix/supported/Fanfiction.java

index 0dcd7903e077d2bb6afa268247e04ea39a04722a..fcf773bd78b787693cd3afa28febd8502f997fc6 100644 (file)
@@ -153,7 +153,7 @@ class Fanfiction extends BasicSupport_Deprecated {
                                        line = line.substring(0, pos).trim();
                                        try {
                                                SimpleDateFormat sdf = new SimpleDateFormat(
-                                                               "YYYY-MM-dd");
+                                                               "yyyy-MM-dd");
                                                return sdf
                                                                .format(new Date(1000 * Long.parseLong(line)));
                                        } catch (NumberFormatException e) {