aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/mauve_time.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 11:46:47 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 11:46:47 +0100
commitdeb14e7bc1979343188a0130d34bef16256e17ca (patch)
treec6015ab576ecca6b9b8d8fff90990f04a8455617 /lib/mauve/mauve_time.rb
parent5c34efb1c21fc75c38024a0c802d448eef6527ba (diff)
Web interface now uses an ajax call to work out ack times, falling back to
javascript if that takes too long. Default working hours are now 9.30 - 5.30 as per SLA.
Diffstat (limited to 'lib/mauve/mauve_time.rb')
-rw-r--r--lib/mauve/mauve_time.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mauve/mauve_time.rb b/lib/mauve/mauve_time.rb
index d3fc039..c12fba3 100644
--- a/lib/mauve/mauve_time.rb
+++ b/lib/mauve/mauve_time.rb
@@ -119,7 +119,10 @@ class Time
if defined? Mauve::Configuration and Mauve::Configuration.current
Mauve::Configuration.current.working_hours
else
- [9.0...17.0]
+ # From our SLA:
+ # "Working hours" means 9.30am to 5.30pm, Monday to Friday, excluding
+ # English bank holidays.
+ [9.5..17.5]
end
end