We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f761e commit 0021babCopy full SHA for 0021bab
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.java
@@ -353,7 +353,8 @@ private JSONObject createFetchRequestBody(
353
}
354
355
private String convertToISOString(long millisFromEpoch) {
356
- // Locale.US ensures that the english numerals are not converted to the local language numerals.
+ // ISO-8601 Timestamp expects Western Arabic numerals. Locale.US ensures that the english
357
+ // numerals are not converted to the local language numerals.
358
SimpleDateFormat isoDateFormat = new SimpleDateFormat(ISO_DATE_PATTERN, Locale.US);
359
isoDateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
360
return isoDateFormat.format(millisFromEpoch);
0 commit comments