test: attempt to fix failing tests
This commit is contained in:
parent
a8c533c648
commit
179d51d408
1 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
|||
// my birthday in KST :D
|
||||
const birth = new Date("2002-07-30, 00:00:00.000 +09:00")
|
||||
|
||||
const dateFormatOption: Intl.DateTimeFormatOptions = {
|
||||
timeZone: "Asia/Seoul",
|
||||
timeZoneName: "longOffset",
|
||||
|
@ -14,6 +11,14 @@ const dateFormatOption: Intl.DateTimeFormatOptions = {
|
|||
fractionalSecondDigits: 3,
|
||||
}
|
||||
|
||||
// my birthday in KST :D
|
||||
const birth = new Date(
|
||||
new Date("2002-07-30, 00:00:00.000 +09:00").toLocaleString(
|
||||
"en-US",
|
||||
dateFormatOption
|
||||
)
|
||||
)
|
||||
|
||||
/**
|
||||
* Gets developomp's age with decimal precision
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue