summaryrefslogtreecommitdiffstats
path: root/lib/time.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/time.sh')
-rw-r--r--lib/time.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.sh b/lib/time.sh
index 5100b04..910d825 100644
--- a/lib/time.sh
+++ b/lib/time.sh
@@ -158,7 +158,7 @@ _ob_gmtime()
while :; do
_ob_is_leap_year ${year} && days_in_year=366 || days_in_year=365
- [ ${timep} -le ${days_in_year} ] && break
+ [ ${timep} -lt ${days_in_year} ] && break
: $((timep -= ${days_in_year}))
: $((year += 1))
done