diff options
| author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-07-24 01:13:54 +0200 | 
|---|---|---|
| committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-07-24 01:13:54 +0200 | 
| commit | 56aac31bbad945a3f2237cca02e7de407d73f6db (patch) | |
| tree | 67a12eb16a559a7d4c6f858b495d9e6c6be2bf4f | |
| parent | d11370d5efda4dc42505a456bd8cae0d37756583 (diff) | |
Reuse date
| -rwxr-xr-x | sunday.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ cgi = CGI.new  today = Date::today  thoughts_file = "#{THOUGHTS_DIR}/#{today}" -if Date::today.sunday? +if today.sunday?    if File.exist? thoughts_file      contents = File.read thoughts_file    else  |