Fix mask for minutes field when computing modified_ns

This commit is contained in:
Jonathan Myers 2022-10-02 18:20:27 -07:00
parent ad79f595a5
commit db28605add
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ static void _reply_directory_json(socketpool_socket_obj_t *socket, _request *req
(file_info.fdate >> 5) & 0xf,
file_info.fdate & 0x1f,
file_info.ftime >> 11,
(file_info.ftime >> 5) & 0x1f,
(file_info.ftime >> 5) & 0x3f,
(file_info.ftime & 0x1f) * 2);
// Manually append zeros to make the time nanoseconds. Support for printing 64 bit numbers