Or you could gather times in a special bogus format - For a library open 8AM - 2AM, you could specify open hours as 08:00 to 26:00:00, and make anything that checks open hours comprehend this magic incantation.

I have vague recollections that at least one Prominent (North American?) Enterprise ILS Vendor (PNAEILSV?) handled the problem this way, though maybe it's not what we're striving for.

Neither of these solutions handles the case that some smaller libraries have, with multiple open intervals per day. Or -- stated alternately -- an open interval with gaps.

Since we've ripped the gyprock (or, 'drywall' to Americans) off the wall with the open hours plumbing, do we want to include this reno while we have the wall open? :)

~B

Quoting Mike Rylander <[EMAIL PROTECTED]>:

On Sun, Jul 27, 2008 at 2:18 AM, Faiz Ishaq <[EMAIL PROTECTED]> wrote:
Hi Mike,

Perhaps a more general approach would be to add a 'Next day' checkbox to
the closing time entry. Another possibility is to ask for 'next day' if
the entered closing time is earlier than the opening time.

This would work.  I also thought of another mechanism last night:
instead of a close time, gather an open time and an open interval.
Frances' hours of operation would "open be 8am, open for 17 hours."
Changing all uses of the close fields so that the calendar time is
calculated in one addition would be simpler than testing for a
separate flag and adding a day, I think.

--miker


Cheers, Faiz Ishaq

-----Original Message-----
From: "Mike Rylander" <[EMAIL PROTECTED]>
To: "Evergreen Development Discussion List" <open-ils-
[EMAIL PROTECTED]>
Date: Sat, 26 Jul 2008 21:26:24 -0400
Subject: Re: [OPEN-ILS-DEV] Hours for Org units

On Wed, Jul 23, 2008 at 11:50 AM, Frances Dean McNamara
<[EMAIL PROTECTED]> wrote:
> I am setting up some test Circulation for our installation.  I want
to set
> up some hours for our Libraries.
>
> During the regular school year the libraries are open from 8 AM to 1
AM the
> next day.  Will that be a problem for Evergreen?
>
> During the summer we close earlier but when I went to set up one set
of
> hours, it made me wonder if the 1 AM closing will be an issue.
>

This won't work today.  The first thought that came to mind was to be
able to supply a "hours after midnight" offset to be applied when the
closing time is 00:00.  This would touch a few deep places, though,
and would require a significant effort to make sure everything works
as expected (though it would likely be a relatively small change to
the code).

Suggestions for alternate approaches would be appreciated! :)

--
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: [EMAIL PROTECTED]
 | web: http://www.esilibrary.com





--
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: [EMAIL PROTECTED]
 | web: http://www.esilibrary.com




======================================
Brandon W. Uhlman, Systems Consultant
Public Library Services Branch
Ministry of Education
Government of British Columbia
605 Robson Street, 5th Floor
Vancouver, BC  V6B 5J3

Phone: (604) 660-2972
E-mail: [EMAIL PROTECTED]
        [EMAIL PROTECTED]

Reply via email to