aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--datepoll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/datepoll.rb b/datepoll.rb
index 9edf24a..dcb2810 100644
--- a/datepoll.rb
+++ b/datepoll.rb
@@ -38,7 +38,7 @@ class DatePoll < Poll
ret += "</tr><tr><th><a href='?sort=name'>Name</a></th>"
@head.keys.sort.each{|curdate|
- ret += "<th><a title='#{curdate}' href='?sort=#{curdate.to_s}'>#{Date::ABBR_DAYNAMES[curdate.wday]}, #{curdate.day}</a></th>\n"
+ ret += "<th><a title='#{curdate}' href='?sort=#{curdate.to_s}'>#{curdate.strftime("%a, %d")}</a></th>\n"
}
ret += "<th><a href='.'>Last Edit</a></th>\n</tr>\n"
ret