Small fixes in different places
[gofetch.git] / src / be / nikiroo / gofetch / support / BasicSupport.java
index b0325b39db59ebbdbfffe1af6654ad208f101189..8fc259a19daa84d387edb1a14b3b9d2adf7583b2 100644 (file)
@@ -435,7 +435,7 @@ public abstract class BasicSupport {
 
                long epoch = 0;
                try {
-                       epoch = Long.parseLong(date);
+                       epoch = Long.parseLong(date.trim());
                } catch (Exception e) {
                        epoch = 0;
                }