Skip to content

Commit

Permalink
delete obsolete code: skip "TAMATEBAKO" antenna
Browse files Browse the repository at this point in the history
Signed-off-by: Tada, Tadashi <t@tdtds.jp>
  • Loading branch information
tdtds committed Jan 11, 2021
1 parent bd32b64 commit 1eec906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-01-11 Tada, Tadashi <t@tdtds.jp>
* calendar2.rb: fix calendar display when next/prev diary mode

2020-11-29 Tada, Tadashi <t@tdtds.jp>
* release 5.1.4

Expand Down
1 change: 0 additions & 1 deletion misc/plugin/calendar2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def calendar2(days_format = nil, navi_format = nil, show_todo = nil)
days_format ||= @calendar2_days_format
navi_format ||= @calendar2_navi_format

return '' if /TAMATEBAKO/ =~ @cgi.user_agent
date = @date || @diaries.values.map{|v|v.date}.sort.first || Time.now
# adopt the oldest date in @diaries
year = date.year
Expand Down

0 comments on commit 1eec906

Please sign in to comment.