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 1 of 2)
changed /trunk/library/GNUmakefile.68k
changed /trunk/library/GNUmakefile.os4
changed /trunk/library/amiga.lib_rev.h
changed /trunk/library/amiga.lib_rev.rev
changed /trunk/library/c.lib_rev.h
changed /trunk/library/c.lib_rev.rev
changed /trunk/library/changes
changed /trunk/library/debug.lib_rev.h
changed /trunk/library/debug.lib_rev.rev
changed /trunk/library/m.lib_rev.h
changed /trunk/library/m.lib_rev.rev
changed /trunk/library/m881.lib_rev.h
changed /trunk/library/m881.lib_rev.rev
changed /trunk/library/macros.h
changed /trunk/library/net.lib_rev.h
changed /trunk/library/net.lib_rev.rev
changed /trunk/library/smakefile
changed /trunk/library/stack.lib_rev.h
changed /trunk/library/stack.lib_rev.rev
changed /trunk/library/time_converttime.c
added /trunk/library/time_days_per_date.c
changed /trunk/library/time_headers.h
changed /trunk/library/time_strftime.c
changed /trunk/library/unix.lib_rev.h
changed /trunk/library/unix.lib_rev.rev
/trunk/library/GNUmakefile.68k Diff Switch to side-by-side view
Loading...
/trunk/library/GNUmakefile.os4 Diff Switch to side-by-side view
Loading...
/trunk/library/amiga.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/amiga.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/c.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/c.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/debug.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/debug.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/m.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/m.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/m881.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/m881.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/macros.h Diff Switch to side-by-side view
Loading...
/trunk/library/net.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/net.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/smakefile Diff Switch to side-by-side view
Loading...
/trunk/library/stack.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/stack.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/time_converttime.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_days_per_date.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_headers.h Diff Switch to side-by-side view
Loading...
/trunk/library/time_strftime.c Diff Switch to side-by-side view
Loading...
/trunk/library/unix.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/unix.lib_rev.rev Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 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.