#505 Retain timezone information while formatting serverTimestamp value

This commit is contained in:
Rajat Upadhyaya 2017-10-13 15:29:45 +05:30
parent 8c56ba6c7a
commit 6fb8b9812e
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";