bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"date" doesn't work like "date '+%c'"


From: Ole Laursen
Subject: "date" doesn't work like "date '+%c'"
Date: 09 Mar 2001 18:13:10 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

According to the info-page for date, running just plain

  date

is supposed to work like

  date '+%c'

An excerpt from the front page:

   `date' with no arguments prints the current time and date, in the
   format of the `%c' directive (described below).

However:

  ole: ~$ date
  fre mar  9 18:11:39 CET 2001
  ole: ~$ date '+%c'
  fre 09 mar 2001 18:11:45 CET

I'm using the Danish locale (da_DK) and 'date (GNU sh-utils) 2.0'.

-- 
Ole Laursen 
http://sunsite.dk/olau/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]