Use %+ to print data using LC_TIME

This commit is contained in:
Andrey A. Chernov 1995-08-05 23:08:17 +00:00
parent 8992794b01
commit 76f9ae3bfe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9944

View file

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: date.c,v 1.3 1994/12/26 12:59:28 bde Exp $
* $Id: date.c,v 1.4 1995/04/03 20:08:33 joerg Exp $
*/
#ifndef lint
@ -123,7 +123,7 @@ main(argc, argv)
if (!rflag && time(&tval) == -1)
err(1, "time");
format = "%a %b %e %H:%M:%S %Z %Y";
format = "%+";
/* allow the operands in any order */
if (*argv && **argv == '+') {