mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2024-05-28 15:41:29 +00:00
mktime: tm_yday should be indexed from 0 for January 1st, not 1.
This fixes the libca07.c test case.
This commit is contained in:
parent
a77e44d7b5
commit
21d34a30ce
1
time.asm
1
time.asm
|
@ -424,7 +424,6 @@ temp2 equ 5 temp variable
|
||||||
div4 count,#60*60*24
|
div4 count,#60*60*24
|
||||||
ldy #14 set the days
|
ldy #14 set the days
|
||||||
lda count
|
lda count
|
||||||
inc A
|
|
||||||
sta [tmptr],Y
|
sta [tmptr],Y
|
||||||
div4 temp,#60*60*24,temp2 compute the day of week
|
div4 temp,#60*60*24,temp2 compute the day of week
|
||||||
add4 temp2,#4
|
add4 temp2,#4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user