summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2014-03-29 00:58:23 +0000
committerNathan Kinkade <nath@nkinka.de>2014-03-29 00:58:23 +0000
commitd7e798b2173f3163bff8de820dd2d8a598dc11f3 (patch)
treeb6df652556aad3886b5e9b05adc781c3a2ba2247
parent17c1a10da649037004cee653eedf9af5f96d6452 (diff)
Use the actual datetime, adjusted for Eastern timezone.
-rwxr-xr-xdaily_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/daily_run.sh b/daily_run.sh
index 5fab73d..e6211f6 100755
--- a/daily_run.sh
+++ b/daily_run.sh
@@ -2,7 +2,7 @@
# This date is just for display. Since this script will get run at 10pm UTC
# and we are in Eastern Time, set the date as yesterday.
-DATE=$(date -d 'yesterday' +'%A, %B %d, %Y')
+DATE=$(TZ=America/New_York date +'%A, %B %d, %Y, %l:%M%p')
# Get the highest current court_case_no from the database
YEAR=$(date +'%y')