Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Rmv reimplementation of my_strftime()
Prior to this commit, there was a near duplicate copy of the code from util.c that implements my_strftime(). This was done because the util.c version zaps the wday field, which made it incompatible. But it dawned on me that if the arbitrary date we use to do our calculations were such that it was for a year in which January 1 falls on a Sunday, then the util.c version automatically works.
- Loading branch information
1 parent
a62b16b
commit 38dcee8
Showing
1 changed file
with
62 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters