If the day of the month is in the range 1-9, report it in __DATE__ with a leading space character rather than a leading 0.

This is what is required by the C standards.
This commit is contained in:
Stephen Heumann 2016-11-15 00:51:46 -06:00
parent 1994e7e353
commit 4f736079f0
1 changed files with 5 additions and 0 deletions

View File

@ -619,6 +619,11 @@ yeardone clc
lda 1,S set the day
inc A
jsr convert
short M
cmp #'0'
bne dateOK
lda #' '
dateOK long M
sta date+6
pla set the month
xba