chore: specify unit of time passed to `fs.utimes`
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Closes #33227 (closed).
Are there any other places where this would be useful to specify? Even though seconds is the base unit, I'm more used to APIs taking ms as default unless otherwise specified. This one might have been extra confusing to me as Date
was accepted, and if you do mathematical operations on a Date
object, it converts to milliseconds automatically.