From 49fa7c89bfd1a0d83d80a45b5b240e03114cc89b Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Wed, 19 Feb 2020 23:15:56 +0000 Subject: [PATCH] calendar: Fix week day calculation (resolve #127). Note: qemu-system-i386 ... -rtc base="2020-02-02T23:59:45" git-svn-id: svn://kolibrios.org@7724 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/calendar/trunk/calendar.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/system/calendar/trunk/calendar.asm b/programs/system/calendar/trunk/calendar.asm index e170ae1991..61e9a9124d 100644 --- a/programs/system/calendar/trunk/calendar.asm +++ b/programs/system/calendar/trunk/calendar.asm @@ -1,7 +1,7 @@ ; Calendar for KolibriOS ; ; v1.5 - time redesign by Heavyiron -; v1.2 - v1.55 - new desighn and functionality by Leency +; v1.2 - v1.55 - new design and functionality by Leency ; v1.1 - add change time support by DedOK ; v1.0 - written in pure assembler by Ivushkin Andrey aka Willow ; also - diamond, spraid, fedesco @@ -156,7 +156,6 @@ get_current_date: jnz .no2000 add [curYear],100 .no2000: - call calculate ret check_midnight: @@ -176,6 +175,7 @@ START: m2m [Year], [curYear] m2m [Month], [curMonth] m2m [day_sel], [curDay] + call calculate red: call define_window