aboutsummaryrefslogtreecommitdiff
path: root/timepollhead.rb
diff options
context:
space:
mode:
Diffstat (limited to 'timepollhead.rb')
-rw-r--r--timepollhead.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/timepollhead.rb b/timepollhead.rb
index be900e2..d07ccfb 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -99,7 +99,7 @@ class TimePollHead
parsed_date
end
- # returns parsed title or nil in case of colum not changed
+ # returns parsed title or nil in case of column not changed
def edit_column(column, newtitle, cgi)
if cgi.include?("toggleallon")
head_count("%Y-%m-%d",false).each{|day,num|
@@ -125,7 +125,7 @@ class TimePollHead
end
# returns a sorted array, containing the big units and how often each small is in the big one
- # small and big must be formated for strftime
+ # small and big must be formatted for strftime
# ex: head_count("%Y-%m") returns an array like [["2009-03",2],["2009-04",3]]
# if notime = true, the time field is stripped out before counting
def head_count(elem, notime)