Skip to content

Commit 4af10a9

Browse files
authored
Remove notice of 6.0 change from fromStandardDate (#1318)
1 parent aa5ad8c commit 4af10a9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/core/src/temporal-types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,7 @@ export class Date<T extends NumberOrInteger = Integer> {
366366
* Create a {@link Date} object from the given standard JavaScript `Date`.
367367
* Hour, minute, second and millisecond components of the given date are ignored.
368368
*
369-
* NOTE: the function {@link toStandardDate} and {@link fromStandardDate} are not inverses of one another. {@link fromStandardDate} takes the Day, Month and Year in local time from the supplied JavaScript Date object, while {@link toStandardDate} creates a new JavaScript Date object at midnight UTC. This incongruity will be rectified in 6.0
370-
* If your timezone has a negative offset from UTC, creating a JavaScript Date at midnight UTC and converting it with {@link fromStandardDate} will result in a Date for the day before.
369+
* NOTE: the function {@link toStandardDate} and {@link fromStandardDate} are not inverses of one another. {@link fromStandardDate} takes the Day, Month and Year in local time from the supplied JavaScript Date object, while {@link toStandardDate} creates a new JavaScript Date object at midnight UTC.
371370
*
372371
* @param {global.Date} standardDate - The standard JavaScript date to convert.
373372
* @return {Date} New Date.

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

Lines changed: 1 addition & 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)