Skip to content

Commit 133bb98

Browse files
committed
docs fix
1 parent 2901d2d commit 133bb98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/core/src/temporal-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ export class Date<T extends NumberOrInteger = Integer> {
395395
* Hour, minute, second and millisecond components of the given date are ignored.
396396
*
397397
* @example
398-
* fromStandardDateLocal(new Date("2010-10-10T00:00:00")) // This may cause issues as JS Dates are created at local time by default
399-
* fromStandardDateLocal(new Date("2010-10-10T00:00:00Z")) // Will create a date at 2010-10-10 as this date is created at UTC with the trailing "Z"
398+
* fromStandardDateUTC(new Date("2010-10-10T00:00:00")) // This may cause issues as JS Dates are created at local time by default
399+
* fromStandardDateUTC(new Date("2010-10-10T00:00:00Z")) // Will create a date at 2010-10-10 as this date is created at UTC with the trailing "Z"
400400
*
401401
* @param {global.Date} standardDate - The standard JavaScript date to convert.
402402
* @return {Date} New Date.

packages/neo4j-driver-deno/lib/core/temporal-types.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)