Skip to content

Commit 0021bab

Browse files
committed
adding more detail to a comment
1 parent 78f761e commit 0021bab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ private JSONObject createFetchRequestBody(
353353
}
354354

355355
private String convertToISOString(long millisFromEpoch) {
356-
// Locale.US ensures that the english numerals are not converted to the local language numerals.
356+
// ISO-8601 Timestamp expects Western Arabic numerals. Locale.US ensures that the english
357+
// numerals are not converted to the local language numerals.
357358
SimpleDateFormat isoDateFormat = new SimpleDateFormat(ISO_DATE_PATTERN, Locale.US);
358359
isoDateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
359360
return isoDateFormat.format(millisFromEpoch);

0 commit comments

Comments
 (0)