Skip to content

Commit 13cf160

Browse files
committed
fix: tests, switch to utc constructor
1 parent b256c14 commit 13cf160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/schema-org/defineArticle/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ describe('defineArticle', () => {
8383
useSetup(() => {
8484
const client = useSchemaOrg([
8585
defineArticle({
86-
datePublished: new Date(2021, 10, 1),
87-
dateModified: new Date(2022, 1, 1),
86+
datePublished: new Date(Date.UTC(2021, 10, 1)),
87+
dateModified: new Date(Date.UTC(2022, 1, 1)),
8888
}),
8989
])
9090

0 commit comments

Comments
 (0)