Commit Graph

7 Commits

Author SHA1 Message Date
Andrey A. Chernov
008ff22c41 For nonexisten time use proper diagnostic instead of bad format and usage 1996-04-06 01:42:09 +00:00
Andrey A. Chernov
4d279a0648 Add setlocale(LC_TIME,... 1995-10-23 20:26:53 +00:00
Andrey A. Chernov
76f9ae3bfe Use %+ to print data using LC_TIME 1995-08-05 23:08:17 +00:00
Joerg Wunsch
29c52ddd49 date(1) didn't emit a final newline if the format had been specified
with `+'.  This breaks tradition and violates Posix 1003.2.

Discoverd by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
1995-04-03 20:08:33 +00:00
Bruce Evans
abdf111953 Obtained from: partly from 386BSD-0.1.2.4
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors

Change some error messages to say which call to settimeofday failed.

Restore casts of NULL in function calls.

Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
David Greenman
89730b290a Added $Id$ 1994-09-24 02:59:15 +00:00
Rodney W. Grimes
4b88c807ea BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00