Menu

Commit [r133]  Maximize  Restore  History

- Changed the algorithm that calculates the number of days that have passed

so far as used by the the __convert_time() function and the conversion
code in strftime().

- Also changed the algorithm used by strftime() to produce the week numbers
(the '%U' and '%W' format specifiers). The new method is much simpler
than the old one.

- Made the code that converts a 'time_t' value into the 'struct DateStamp',
as used by strftime() and utime(), into its own function. This also
fixes a bug in the code strftime() would use which was completely
unaware of the local time zone settings.

obarthel 2005-01-29

<< < 1 2 (Page 2 of 2)
changed /trunk/library/utime_utime.c
/trunk/library/utime_utime.c Diff Switch to side-by-side view
Loading...
<< < 1 2 (Page 2 of 2)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.