tv
c7e3d05330
Correct doc for tm.tm_sec to document range 0..61, not 0..60 (strptime(3)
...
legally assigns 61 here if specified by the user)
1998-03-19 16:26:35 +00:00
tv
3c5e426d70
Fixes from PRs 5056 and 5161, partly rethought:
...
- %C and %y can be used in conjunction properly, though %y can have its
old behaviour if used without %C
- %I formats hous 0..11 with 0 representing "12"; this is correct both
with and without am/pm (%p rule fixed to compensate)
- %j fixed for range [0..365] in struct tm
- %m fixed for range [0..11] in struct tm
- %S fixed for range [0..61] in struct tm
1998-03-19 16:21:35 +00:00
kleink
59ea4930e2
Change interval specification style from (a-b) to [a,b] where appropriate.
1998-02-11 18:52:24 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
jtc
c9f8519040
sync with tzcode1998b
1998-01-22 07:17:18 +00:00
jtc
1c631d03ad
sync with tzcode1998a
1998-01-22 07:06:56 +00:00
mycroft
b7728ce9c9
Pull in tzfile.h.
1998-01-20 21:39:40 +00:00
mycroft
a5f873989a
Update dates.
1998-01-20 21:10:08 +00:00
mycroft
bfec060b83
Update documentation of %y to reflect y2k change.
1998-01-20 20:48:56 +00:00
mycroft
7f0df00dd7
The rollover for the previous is 1969, not 1970.
1998-01-20 20:47:46 +00:00
mycroft
13156da2e5
Fix an old comment
1998-01-20 20:41:49 +00:00
mycroft
fc6492b391
Treat 2-digit year < 70 as year - 2000, per XPG.
1998-01-20 20:39:06 +00:00
perry
b51ed80fd5
RCS Id Police.
1998-01-09 04:11:49 +00:00
lukem
14e91f97ec
WARNSify
1997-10-17 14:26:43 +00:00
lukem
35e2907fec
warnsify
1997-10-17 14:23:45 +00:00
lukem
2a55b0f192
rcsid police
1997-10-09 10:07:40 +00:00
jtc
0f031182c5
sync with tzcode1997g
1997-09-05 02:11:55 +00:00
jtc
2080f3c806
Music has been expanded and renamed Arts.htm
1997-09-05 02:11:27 +00:00
jtc
5bd15d6468
import tzcode1997g
1997-09-05 02:07:13 +00:00
jtc
990a11b9c6
Fix files using old TNF copyright notice
1997-07-30 23:53:32 +00:00
jtc
43fa6fe319
If port provides __weak_alias(), provide an Standard C and POSIX pure
...
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.
This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
kleink
0d71e88959
Add standards conformance statement.
1997-07-14 23:35:02 +00:00
christos
3ad08ca2f9
Fix RCSID's
1997-07-13 20:25:30 +00:00
cjs
420dff88f0
Remove bogus `#ifdef unix'.
1997-06-21 21:26:23 +00:00
jtc
359f61a781
Sync with tzcode1997e
1997-06-18 01:12:39 +00:00
jtc
ef16fd639e
import tzcode1997e
1997-06-18 00:41:05 +00:00
kleink
0e1fa19edf
Nuke a spurious (but under !__STDC__ fatal) space from last commit.
1997-06-03 10:19:45 +00:00
kleink
c9e453859c
Replace some hand-crafted concatenation with the __CONCAT() macro.
1997-06-03 10:04:20 +00:00
kleink
2f11ceb63c
Add a reference to the strptime(3) manual page.
1997-05-25 19:34:44 +00:00
kleink
d5ab17a222
Add a strptime(3) manual page.
1997-05-25 19:29:36 +00:00
kleink
2eaf62bf51
Rewritten from scratch. Implement missing conversions and provide support
...
for E and O modifiers, though our locale does not support `alternate'
conversions and formats - we just stick to the unmodified rules in that case.
1997-05-25 19:26:43 +00:00
kleink
14311d9dca
KNF.
1997-05-06 13:06:48 +00:00
kleink
891c1283c5
* POSIX: use tzname for the %Z conversion, not tm->tm_zone.
...
* KNF, RCSid police.
1997-04-29 20:00:14 +00:00
mrg
cbf5ef7c50
move str[fp]time into libc/time.
1997-04-23 01:17:59 +00:00
mrg
2d2ae90504
note possible security concerns.
1997-04-22 12:33:17 +00:00
is
2b9aa0e3fe
The protoypes for ctime() and tzset() are in <time.h>. Move #include <time.h>
...
to the start of the SYNOPSIS so that people won't need to search them.
1997-04-18 17:32:04 +00:00
mouse
80c0d60f84
alternate -> alternative, per PR 2643
1997-03-08 13:47:08 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
jtc
95c287709b
set HAVE_STRERROR
1996-09-13 17:46:49 +00:00
jtc
9b9f8829d1
sync with tzcode96l
1996-09-10 22:04:29 +00:00
jtc
b27646e2c2
import tzcode96l
1996-09-10 21:59:47 +00:00
jtc
bd587f836f
Changed manpages to reflect fact that localtime file is in /etc
1996-01-30 19:54:34 +00:00
jtc
0f94396cf3
sync with tzcode96c
1996-01-20 02:29:47 +00:00
jtc
c875c647a0
sync with tzcode96a
1996-01-08 22:50:54 +00:00
jtc
c743e76aff
import tzcode96a
1996-01-08 22:45:14 +00:00
jtc
31ed1143ff
merge in changes from 1.1 release branch
1995-11-28 06:41:14 +00:00
jtc
0ed73b3dc5
/usr/local/etc/zoneinfo -> /usr/share/zoneinfo; PR #1398
1995-08-22 19:28:15 +00:00
jtc
3924aee202
Added comment explaining why we are using a different algorithm than
...
what was adopted in tzcode95c to solve the problem of the first char
detzcode() extracts requiring sign extention (this is needed for
machines with 64 bit longs).
Our implementation is a bit more efficent, but requires a new macro,
SIGN_EXTEND_CHAR(), and a conditional to set it appropriately).
One minor enhancement for machines without ANSI compilers that have 32
bit longs would be to define SIGN_EXTEND_CHAR() to be the identity
macro.
1995-03-16 19:14:16 +00:00
jtc
990d7c70e0
Added some #defines for NetBSD's defaults.
1995-03-14 18:49:49 +00:00
jtc
be80b6891a
Removed "new" from references to newctime(3).
...
Removed -lz from SYNOPSIS.
1995-03-10 18:21:24 +00:00