Merge pull request #506 from urajat/master

#505 Retain timezone information while formatting serverTimestamp value
This commit is contained in:
chrisbianca 2017-10-13 11:39:00 +01:00 committed by GitHub
commit 93d152df42
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ import io.invertase.firebase.Utils;
public class FirestoreSerialize {
private static final String TAG = "FirestoreSerialize";
private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
private static final String KEY_CHANGES = "changes";
private static final String KEY_DATA = "data";
private static final String KEY_DOC_CHANGE_DOCUMENT = "document";