Skip to content

Commit

Permalink
Fix date-time-format-apple.js
Browse files Browse the repository at this point in the history
Summary:
Make date-time-format-apple.js more permissive; relax the requirement on
the characters allowed after 'Thursday'.

[Facebook]
Port of D55664318 from SH.

Reviewed By: neildhar

Differential Revision: D58147333

fbshipit-source-id: e29ba78dbdd725f6ae845b8bf496d1c99178c38f
  • Loading branch information
lavenzg authored and facebook-github-bot committed Jun 5, 2024
1 parent 831bcdc commit 80c4ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hermes/intl/date-time-format-apple.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ try {
// CHECK-NEXT: Caught{{.*}}

print(new Intl.DateTimeFormat('en-GB', { dateStyle: 'full', timeStyle: 'long' }).format(date));
// CHECK-NEXT: Thursday, 2 January 2020 at 03:45:00 GMT
// CHECK-NEXT: Thursday{{.+}}2 January 2020 at 03:45:00 GMT

print(new Intl.DateTimeFormat('ko-KR', { dateStyle: 'medium', timeStyle: 'medium' }).format(date));
// CHECK-NEXT: 2020. 1. 2. 오전 3:45:00
Expand Down

0 comments on commit 80c4ad6

Please sign in to comment.