From d9065ee8deda90cd531b814e2bc98aada630073c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 18 Jun 2021 20:33:36 +1000 Subject: [PATCH] Fix screenshots having day of week instead of month --- src/interop_web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interop_web.js b/src/interop_web.js index 26c13c97f..f80f6cbc8 100644 --- a/src/interop_web.js +++ b/src/interop_web.js @@ -120,7 +120,7 @@ mergeInto(LibraryManager.library, { var date = new Date(); HEAP32[(time|0 + 0)>>2] = date.getFullYear(); HEAP32[(time|0 + 4)>>2] = date.getMonth() + 1|0; - HEAP32[(time|0 + 8)>>2] = date.getDay(); + HEAP32[(time|0 + 8)>>2] = date.getDate(); HEAP32[(time|0 + 12)>>2] = date.getHours(); HEAP32[(time|0 + 16)>>2] = date.getMinutes(); HEAP32[(time|0 + 20)>>2] = date.getSeconds();