Skip to content

Commit

Permalink
one further test
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Nov 19, 2011
1 parent 80d11cc commit 9276fba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/core/task.rb
Expand Up @@ -235,10 +235,10 @@ def specific_time

#----------------------------------------------------------------------------
def parse_calendar_date
puts "task_calendar_with_time: " << Setting.task_calendar_with_time
puts "locale: " << I18n.locale
puts "time fmt: " << I18n.t('time.formats.mmddyyyy_hhmm')
puts "date fmt: " << I18n.t('date.formats.mmddyyyy')
puts "task_calendar_with_time: " << Setting.task_calendar_with_time.to_s
puts "locale: " << I18n.locale.to_s
puts "time fmt: " << I18n.t('time.formats.mmddyyyy_hhmm').to_s
puts "date fmt: " << I18n.t('date.formats.mmddyyyy').to_s
Time.strptime(self.calendar, I18n.t(Setting.task_calendar_with_time ? 'time.formats.mmddyyyy_hhmm' : 'date.formats.mmddyyyy')).utc
end
end
Expand Down

0 comments on commit 9276fba

Please sign in to comment.