Print this page
11919 date_test needs to set LC_TIME
Reviewed by: Paul Winder <paul@winders.demon.co.uk>

@@ -9,22 +9,18 @@
 # source.  A copy of the CDDL is also available via the Internet at
 # http://www.illumos.org/license/CDDL.
 #
 
 #
-# Copyright (c) 2017, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
 #
 
 #
 # Basic tests of date -r.
 #
 
-#
-# Make sure that we're executing in the C locale and that a given user's
-# locale doesn't impact this test.
-#
-export LANG=C
+export LC_ALL=C
 
 date_arg0="$(basename $0)"
 date_prog=/usr/bin/date
 date_curcmd=