You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
regression: fs.utimes/futimes for dates before unix epoch #14017
It was introduced in #2387 (specifically in #2387 (comment)), backported to version 4.1.0. In other words, only version 4.0.0 in the v4.x branch is not affected by the bug.
@gireeshpunathil that was a doc update about Infinity and NaN. Are you certain you referenced the correct PR? #15680 is independent from this issue as far as I can tell.
I also cannot reproduce. The example above works fine on node master so I guess it was fixed some time since 4.x. This won't be fixed in 4.x, of course, since that branch has been sunset.
Activity
MylesBorins commentedon Jul 3, 2017
@isaacs is this recently introduced in v4.8.3? Is there an earlier version of v4.x where this is not happening?
TimothyGu commentedon Jul 4, 2017
It was introduced in #2387 (specifically in #2387 (comment)), backported to version 4.1.0. In other words, only version 4.0.0 in the v4.x branch is not affected by the bug.
gireeshpunathil commentedon Apr 28, 2018
Was this fixed through #15680 ? Given 4.x entering EOL, this looks like a close candidate?
/cc @refack @lpinca
BridgeAR commentedon Apr 28, 2018
@gireeshpunathil that was a doc update about Infinity and NaN. Are you certain you referenced the correct PR? #15680 is independent from this issue as far as I can tell.
gireeshpunathil commentedon Apr 28, 2018
probably not - I was just following the linked references.
kevintab95 commentedon Oct 4, 2018
An observation: On specifying a negative timestamp as a string for values before 1970-01-01T00:00:00.000Z the atime and utime were modified correctly (https://nodejs.org/api/fs.html#fs_fs_utimes_path_atime_mtime_callback).
Should we document this or figure out a way to fix it? Thanks.
Fishrock123 commentedon Jan 24, 2019
I also cannot reproduce. The example above works fine on node
masterso I guess it was fixed some time since 4.x. This won't be fixed in 4.x, of course, since that branch has been sunset.