Skip to content

Commit

Permalink
Use date, not gdate, for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
bombsimon committed Apr 21, 2020
1 parent 26cde8b commit d1b3119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion personnummer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ __valid_date() {
return 0
fi
else
if gdate "+%Y%m%d" -d "$date" > /dev/null 2>&1; then
if date "+%Y%m%d" -d "$date" > /dev/null 2>&1; then
return 0
fi
fi
Expand Down

0 comments on commit d1b3119

Please sign in to comment.