Skip to content

Commit 7f72280

Browse files
authored
Merge pull request #6982 from electronerdian/webworkflow_times
Fix mask for minutes field when computing modified_ns
2 parents abd0228 + db28605 commit 7f72280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/web_workflow/web_workflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ static void _reply_directory_json(socketpool_socket_obj_t *socket, _request *req
660660
(file_info.fdate >> 5) & 0xf,
661661
file_info.fdate & 0x1f,
662662
file_info.ftime >> 11,
663-
(file_info.ftime >> 5) & 0x1f,
663+
(file_info.ftime >> 5) & 0x3f,
664664
(file_info.ftime & 0x1f) * 2);
665665

666666
// Manually append zeros to make the time nanoseconds. Support for printing 64 bit numbers

0 commit comments

Comments
 (0)