dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29668
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15013: revert nepali date format, nepali calendar officially uses iso 8601 date formatting
------------------------------------------------------------
revno: 15013
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2014-04-27 14:34:14 +0545
message:
revert nepali date format, nepali calendar officially uses iso 8601 date formatting
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/impl/NepaliCalendar.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/impl/NepaliCalendar.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/impl/NepaliCalendar.java 2014-04-27 08:47:17 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/impl/NepaliCalendar.java 2014-04-27 08:49:14 +0000
@@ -51,8 +51,6 @@
private static final DateUnit startIso = new DateUnit( 1943, 4, 14, java.util.Calendar.WEDNESDAY );
- private static final String DEFAULT_NEPALI_DATE_FORMAT = "dd-MM-yyyy";
-
private static final Calendar self = new NepaliCalendar();
public static Calendar getInstance()
@@ -66,12 +64,6 @@
return "nepali";
}
- @Override
- public String defaultDateFormat()
- {
- return DEFAULT_NEPALI_DATE_FORMAT;
- }
-
// TODO Add proper local date format for Nepali, can't use default.. since the month numbers are outside the valid ISO 8601 range
@Override
public String formattedDate( DateUnit dateUnit )