utimeSync truncates millisecond timestamps to nearest second #5065
Labels
bug
Something isn't working correctly
cli
related to cli/ dir
public API
related to "Deno" namespace in JS
Deno
statSync
returns millisecond resolution bututimeSync
truncates to seconds resolution.Platform:
In lieu of the REPL (#5063) I ran the following code:
Output (the updated mtime is truncated to the nearest second):
The Node.js
utimesSync
API does not exhibit this behaviour and sets millisecond timestamp resolution:The text was updated successfully, but these errors were encountered: