Skip to content

Commit

Permalink
Fixed Unknown Format in "time" command
Browse files Browse the repository at this point in the history
The time that was coming from CMOS registers is in BCD format which needs to be converted to BCD format.
  • Loading branch information
JeetKaria06 authored Oct 20, 2020
1 parent 3433ee5 commit 41db2b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/arch/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ void show_time() {
}

kprintf("%03i/%03i/'%03i %03i:%03i:%03i UTC\n", day, month, year, hour, minute, second);

}

0 comments on commit 41db2b8

Please sign in to comment.