# HG changeset patch # User HIROSE Yuuji # Date 1362464550 -32400 # Node ID 5381d9b4adb5b58db1af17ebc28ca8ec90b5630d # Parent 1acd9c926bd694ec07dfca9f298bc62c8239e5cb Correct date format for SMTP. diff -r 1acd9c926bd6 -r 5381d9b4adb5 after5.rb --- a/after5.rb Sun Jan 27 23:18:02 2013 +0900 +++ b/after5.rb Tue Mar 05 15:22:30 2013 +0900 @@ -2,9 +2,9 @@ # -*- coding: euc-jp -*- # # Associative Scheduling Table - after5 -# (C)2003, 2004, 2006, 2008, 2012 by HIROSE Yuuji [yuujigentei.org] +# (C)2003, 2004, 2006, 2008, 2012, 2013 by HIROSE Yuuji [yuujigentei.org] # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ -# Last modified Tue Dec 4 00:53:29 2012 on firestorm +# Last modified Tue Mar 5 15:21:30 2013 on firestorm # See http://www.gentei.org/~yuuji/software/after5/ # このスクリプトはEUCで保存してください。 $hgid = <<_HGID_.split[1..-2].join(" ") @@ -1678,7 +1678,7 @@ m.puts "Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: Text/Plain; charset=iso-2022-jp" - m.puts "Date: #{Time.now.strftime("%a, %d %Y %T %z")}" + m.puts "Date: #{Time.now.strftime("%a, %d %B %Y %T %z")}" m.print "\n" end m.print body, "\n"