diff options
author | Rafael Fontenelle <rafaelff@gnome.org> | 2018-08-16 20:43:14 -0300 |
---|---|---|
committer | Rafael Fontenelle <rafaelff@gnome.org> | 2018-08-16 20:43:14 -0300 |
commit | 5acc09c74469814eac904da77be3103430fe3f48 (patch) | |
tree | d9ef80caa5858d96aa63d8d7bd5d6a0e1e74c39e /timepollhead.rb | |
parent | fa661ef87b345d8039a3d973b00f08c2dd60acb6 (diff) |
Fix minor typos
Diffstat (limited to '')
-rw-r--r-- | timepollhead.rb | 4 |
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) |