Removes repeat layout. Format date now works correctly
[unical.git] / src / ro / ieval / unical / Utils.java
index 3b53b479a90cce7964136bcbaeb759055f1a6f5c..b46078aed03037b51be17dd841a70c647a5113fe 100644 (file)
@@ -27,7 +27,7 @@ final class Utils {
        }
 
        public static String formatDate(final int year, final int month, final int day){
-               return String.format(Locale.ENGLISH, "%4d-%02d-%02d", year, month, day);
+               return String.format(Locale.ENGLISH, "%4d-%02d-%02d", year, month+1, day);
        }
 
        public static void addAlarm(final Application application, final long time, final long eventId) throws SQLException{
This page took 0.009036 seconds and 4 git commands to generate.