adzap / validates_timeliness

Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
MIT License
1.59k stars 227 forks source link

Fix for running tests in non-Australian timezones #99

Closed jarl-dk closed 11 years ago

jarl-dk commented 11 years ago

When runnning bundle exec rake in Denmark or for that matter in any other timezone than Australian timezone these two tests fails.

IanWhitney commented 11 years ago

Thanks for this fix. I'd love it if this got merged in, adzap

jarl-dk commented 11 years ago

@IanWhitney You are probably also interested in #96 as it solves the problems that shows up after having fixed the test to test against correct expected values.