Skip to content

Commit

Permalink
missed one instance of date in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul committed Sep 28, 2023
1 parent 63bc50f commit f0cf701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/exglobal_stage_ic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "${HOMEgfs}/ush/preamble.sh"

# Locally scoped variables and functions
# shellcheck disable=SC2153
GDATE=$(date -d "${PDY} ${cyc} - ${assim_freq} hours" +%Y%m%d%H)
GDATE=$(date --utc -d "${PDY} ${cyc} - ${assim_freq} hours" +%Y%m%d%H)
gPDY="${GDATE:0:8}"
gcyc="${GDATE:8:2}"

Expand Down

0 comments on commit f0cf701

Please sign in to comment.