Commit 55631f4
doc: add leap second behavior notes for napi methods
napi_create_date and napi_get_date_value ignore leap seconds as per
ECMAScript spec that follows POSIX spec for time, comments added to the
documentation where added fo clarify it.
PR-URL: #29569
Fixes: #29439
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 7fd3261 commit 55631f4
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1774 | 1774 | | |
1775 | 1775 | | |
1776 | 1776 | | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
1777 | 1780 | | |
1778 | 1781 | | |
1779 | 1782 | | |
| |||
2433 | 2436 | | |
2434 | 2437 | | |
2435 | 2438 | | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
2436 | 2442 | | |
2437 | 2443 | | |
2438 | 2444 | | |
| |||
0 commit comments