From 8e6d4162ed7ca52598abf78f10317be0d77518a9 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 8 May 2012 11:54:18 +0100 Subject: Fixed time tests + standardised dead zone + daylight hours. --- lib/mauve/mauve_time.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mauve/mauve_time.rb') diff --git a/lib/mauve/mauve_time.rb b/lib/mauve/mauve_time.rb index c12fba3..2b9a0f0 100644 --- a/lib/mauve/mauve_time.rb +++ b/lib/mauve/mauve_time.rb @@ -122,7 +122,7 @@ class Time # From our SLA: # "Working hours" means 9.30am to 5.30pm, Monday to Friday, excluding # English bank holidays. - [9.5..17.5] + [9.5...17.5] end end @@ -138,7 +138,7 @@ class Time if defined? Mauve::Configuration and Mauve::Configuration.current Mauve::Configuration.current.daytime_hours else - [8.0...20.0] + [8.0...22.0] end end -- cgit v1.2.1