diff options
Diffstat (limited to 'lib/time.sh')
-rw-r--r-- | lib/time.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.sh b/lib/time.sh index 40d55f6..21e7448 100644 --- a/lib/time.sh +++ b/lib/time.sh @@ -172,7 +172,7 @@ ob_iso8601_gmtime() : $((timep -= ${days_in_year})) : $((year += 1)) done - while [ ${timep} -gt $(_ob_month_to_days $((${mon} + 1)) ${year}) ]; do + while [ ${timep} -ge $(_ob_month_to_days $((${mon} + 1)) ${year}) ]; do : $((mon += 1)) done mday=$((${timep} - $(_ob_month_to_days ${mon} ${year}) + 1)) |