diff --git a/pom.xml b/pom.xml index 755e7cb..a016e71 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.milmove.trdmlambda trdm-lambda - 1.0.0.9 + 1.0.0.10 trdm java spring interface Project for deploying a Java TRDM interfacer for TGET data. diff --git a/src/main/java/com/milmove/trdmlambda/milmove/handler/TransportationAccountingCodesHandler.java b/src/main/java/com/milmove/trdmlambda/milmove/handler/TransportationAccountingCodesHandler.java index 17f749c..07a5433 100644 --- a/src/main/java/com/milmove/trdmlambda/milmove/handler/TransportationAccountingCodesHandler.java +++ b/src/main/java/com/milmove/trdmlambda/milmove/handler/TransportationAccountingCodesHandler.java @@ -107,9 +107,9 @@ private XMLGregorianCalendar getOurLastTGETUpdate(String tableName) Timestamp lastUpdatedTimestamp = rs.getTimestamp("rds_last_updated"); // Convert our last update pulled from the db into XML Gregorian Calendar - // friendly format ending in "Z" for Zulu. X should auto assume Z + // friendly format ending in "Z" for Zulu. SimpleDateFormat xmlUnfriendlyLastUpdateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSS"); - SimpleDateFormat xmlFriendlyLastUpdateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'X'"); + SimpleDateFormat xmlFriendlyLastUpdateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); xmlFriendlyLastUpdateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); Date date = xmlUnfriendlyLastUpdateFormat.parse(lastUpdatedTimestamp.toString());