Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -1,5 +1 @@
|
|||
is_leap() {
|
||||
local year=$(( 10#${1:?'Missing year'} ))
|
||||
(( year % 4 == 0 && ( year % 100 != 0 || year % 400 == 0 ) )) && return 0
|
||||
return 1
|
||||
}
|
||||
is_leap() (( year=${1-0}, year % 4 == 0 && ( year % 100 != 0 || year % 400 == 0 )))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue