Deno: Deno.utime() errors when supplied date parameter

Created on 31 Mar 2020  路  1Comment  路  Source: denoland/deno

Given the following code:

await Deno.utime("my_file.txt", new Date(), new Date());

The process errors out on v0.38.0 with:

error: Uncaught InvalidData: invalid type: floating point 1585688574.996, expected u64

The same error is present with Deno.utimeSync() as well.

bug good first issue

Most helpful comment

I'm looking to contribute. I'll take a look at it.

>All comments

I'm looking to contribute. I'll take a look at it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sh7dm picture sh7dm  路  3Comments

benjamingr picture benjamingr  路  3Comments

watilde picture watilde  路  3Comments

CruxCv picture CruxCv  路  3Comments

doutchnugget picture doutchnugget  路  3Comments