mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
set the right language for test
This commit is contained in:
parent
05d6210ece
commit
3102e66580
@ -11,7 +11,7 @@ public class Dates {
|
|||||||
double JANUARY = 0;
|
double JANUARY = 0;
|
||||||
Date d = new Date(Date.UTC(2020, JANUARY, 01, 1, 0, 0));
|
Date d = new Date(Date.UTC(2020, JANUARY, 01, 1, 0, 0));
|
||||||
|
|
||||||
String localeString = d.toLocaleString("fr", new DateTimeFormatOptions() {
|
String localeString = d.toLocaleString("en", new DateTimeFormatOptions() {
|
||||||
{
|
{
|
||||||
$set("timeZone", "UTC");
|
$set("timeZone", "UTC");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user