#edit_today.rb Rev.1.0$ unless @mode == 'day' add_body_enter_proc do |date| ymd = Time::at(date).strftime('%Y%m%d') y, m, d = ymd.scan(/^(\d{4})(\d\d)(\d\d)$/)[0] %Q|