Skip to content

Commit 5bc17c9

Browse files
fix(fcm): Use Invariant Culture when generating event_time (#417)
1 parent 8f1c6c6 commit 5bc17c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAdmin/FirebaseAdmin/Messaging/AndroidNotification.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ private string EventTimeString
365365
{
366366
get
367367
{
368-
return this.EventTimestamp.ToUniversalTime().ToString("yyyy-MM-dd'T'HH:mm:ss.ffffff000'Z'");
368+
return this.EventTimestamp.ToUniversalTime().ToString("yyyy-MM-dd'T'HH:mm:ss.ffffff000'Z'", CultureInfo.InvariantCulture);
369369
}
370370

371371
set

0 commit comments

Comments
 (0)