forked from KolibriOS/kolibrios
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
This commit is contained in:
parent
97d8594f28
commit
49fa7c89bf
@ -1,7 +1,7 @@
|
|||||||
; Calendar for KolibriOS
|
; Calendar for KolibriOS
|
||||||
;
|
;
|
||||||
; v1.5 - time redesign by Heavyiron
|
; 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.1 - add change time support by DedOK
|
||||||
; v1.0 - written in pure assembler by Ivushkin Andrey aka Willow
|
; v1.0 - written in pure assembler by Ivushkin Andrey aka Willow
|
||||||
; also - diamond, spraid, fedesco
|
; also - diamond, spraid, fedesco
|
||||||
@ -156,7 +156,6 @@ get_current_date:
|
|||||||
jnz .no2000
|
jnz .no2000
|
||||||
add [curYear],100
|
add [curYear],100
|
||||||
.no2000:
|
.no2000:
|
||||||
call calculate
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
check_midnight:
|
check_midnight:
|
||||||
@ -176,6 +175,7 @@ START:
|
|||||||
m2m [Year], [curYear]
|
m2m [Year], [curYear]
|
||||||
m2m [Month], [curMonth]
|
m2m [Month], [curMonth]
|
||||||
m2m [day_sel], [curDay]
|
m2m [day_sel], [curDay]
|
||||||
|
call calculate
|
||||||
red:
|
red:
|
||||||
call define_window
|
call define_window
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user