summaryrefslogtreecommitdiffstats
path: root/bin/date/date.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-05 23:08:17 +0000
committerache <ache@FreeBSD.org>1995-08-05 23:08:17 +0000
commit5ec1f8dfb45af7eadf27c33ef5c1df301df43add (patch)
tree23bc7680f44375d979de8a111538cff067bfce8c /bin/date/date.c
parentdb0e73744f21f24953e9bf2258f6e3844a2fdf54 (diff)
downloadFreeBSD-src-5ec1f8dfb45af7eadf27c33ef5c1df301df43add.zip
FreeBSD-src-5ec1f8dfb45af7eadf27c33ef5c1df301df43add.tar.gz
Use %+ to print data using LC_TIME
Diffstat (limited to 'bin/date/date.c')
-rw-r--r--bin/date/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index 408c621..94e3b33 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -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 == '+') {
OpenPOWER on IntegriCloud