I'm transitioning to v2 on Android. I use the modified date and time to know when is a good time to backup again.
In the migration documentation it says:
Date formats
When I use:
SearchResult searchResult = dbxClientV2.files().search("", KEY_WEEKLY_FILE_NAME);
FileMetadata fileMeta = (FileMetadata) searchResult.getMatches().get(0).getMetadata();
fileMeta.getServerModified().toString()I'm getting the following format:
Wed Apr 26 17:13:03 EDT 2017
I can format this with relative ease, but I'm expecting the ISO 8601 format and I'm concerned it will change at some point without warning, or perhaps I'm doing something wrong?