Skip to content

Commit 055af34

Browse files
committed
Merge branch 'main' of github.com:ajrosen/icalPal
2 parents c10a0c6 + 54121ca commit 055af34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def to_s
6666
return strftime($opts[:df]) if $opts && $opts[:df] && $opts[:nrd]
6767
return super unless $today && $opts
6868

69-
case (self - $today).round
69+
case (self - $today).floor
7070
when -2 then 'day before yesterday'
7171
when -1 then 'yesterday'
7272
when 0 then 'today'

0 commit comments

Comments
 (0)