From 66839c559c2ca2f024769ae047eb5d4f66295383 Mon Sep 17 00:00:00 2001 From: apryce Date: Tue, 13 Aug 2013 21:06:13 -0600 Subject: [PATCH] Issue 15: Updating .gitignore and changing timestamp. --- .gitignore | 4 ++++ src/co/openbike/cycletracks/TripUploader.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 38b2c60..138812b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ tests/bin tests/gen Thumbs.db .dotcloud +**.classpath +**project.properties +**.project +**org.eclipse.jdt.core.prefs diff --git a/src/co/openbike/cycletracks/TripUploader.java b/src/co/openbike/cycletracks/TripUploader.java index 32e20eb..626e570 100644 --- a/src/co/openbike/cycletracks/TripUploader.java +++ b/src/co/openbike/cycletracks/TripUploader.java @@ -78,7 +78,7 @@ public TripUploader(Context ctx) { } private JSONArray getCoordsJSON(long tripId) throws JSONException { - SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); mDb.openReadOnly(); Cursor tripCoordsCursor = mDb.fetchAllCoordsForTrip(tripId);