Skip to content

Commit

Permalink
Include documentation that toSeconds() returns a floating point number (
Browse files Browse the repository at this point in the history
#1681)

---------

Co-authored-by: Take Weiland <[email protected]>
  • Loading branch information
1dylan1 and diesieben07 authored Feb 12, 2025
1 parent 42a4699 commit b952fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.js
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ export default class DateTime {
}

/**
* Returns the epoch seconds of this DateTime.
* Returns the epoch seconds (including milliseconds in the fractional part) of this DateTime.
* @return {number}
*/
toSeconds() {
Expand Down

0 comments on commit b952fc5

Please sign in to comment.