Skip to content

Commit d575cab

Browse files
committed
[data] using UTC for libpostal data files on the Mac version of the download script as well
1 parent c3f3896 commit d575cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libpostal_data

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ download_file() {
118118
if date -d "@$(date -ur . +%s)" >/dev/null 2>&1; then
119119
echo $(date -d "$(date -d "@$(date -ur $local_path +%s)") + 1 second") > $updated_path;
120120
elif stat -f %Sm . >/dev/null 2>&1; then
121-
echo $(date -r $(stat -f %m $local_path) -v+1S) > $updated_path;
121+
echo $(date -ur $(stat -f %m $local_path) -v+1S) > $updated_path;
122122
fi;
123123
tar -xvzf $local_path -C $data_dir;
124124
rm $local_path;

0 commit comments

Comments
 (0)