dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36088
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18473: minor change, add new supported date format in DateUtils (including ms)
------------------------------------------------------------
revno: 18473
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-03-04 16:47:54 +0700
message:
minor change, add new supported date format in DateUtils (including ms)
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/DateUtils.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-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/DateUtils.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/DateUtils.java 2015-02-22 20:02:00 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/DateUtils.java 2015-03-04 09:47:54 +0000
@@ -51,6 +51,7 @@
public class DateUtils
{
public static final SimpleDateFormat[] SUPPORTED_DATE_FORMATS = new SimpleDateFormat[]{
+ new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ss.SSSZ" ),
new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ" ),
new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ss" ),
new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm" ),