Fixes and improvements

This commit is contained in:
2015-08-06 16:24:18 +02:00
parent d27afa9558
commit 0052f97465
19 changed files with 45 additions and 37 deletions
@@ -14,7 +14,6 @@
errors: <%= I18n.t('errors', locale: :nl).to_json %>
date: <%= {day_name: Hash[Date::DAYNAMES.map(&:downcase).zip(I18n.t('date.day_names', locale: :nl))]}.to_json %>
@day_minutes_to_time = (minutes)->
return "" unless minutes
[("0" + Math.floor(minutes/60)).substr(-2,2), ("0" + Math.floor(minutes%60)).substr(-2,2)].join(":")