Skip to content

Commit 3063f5c

Browse files
committed
Fix JSDoc
1 parent c6c1a08 commit 3063f5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v1/internal/temporal-util.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ export function totalNanoseconds(standardDate, nanoseconds) {
278278
}
279279

280280
/**
281-
* Get the total number of nanoseconds from the given standard JavaScript date.
281+
* Get the time zone offset in seconds from the given standard JavaScript date.
282282
* @param {global.Date} standardDate the standard JavaScript date.
283-
* @return {number} the total amount of nanoseconds.
283+
* @return {number} the time zone offset in seconds.
284284
*/
285285
export function timeZoneOffsetInSeconds(standardDate) {
286286
return standardDate.getTimezoneOffset() * SECONDS_PER_MINUTE;

0 commit comments

Comments
 (0)