[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 558e91d196cd511b372996e02ca452dda53bd46c
Evergreen Git
git at git.evergreen-ils.org
Mon May 16 15:53:19 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_0 has been updated
via 558e91d196cd511b372996e02ca452dda53bd46c (commit)
from 76b9f2cbb49e91050e15811d2518077683708f5a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 558e91d196cd511b372996e02ca452dda53bd46c
Author: Dan Wells <dbw2 at calvin.edu>
Date: Mon May 16 15:23:10 2011 -0400
Borrow on_or_after() from MFHD/Caption.pm in MFHD/Date.pm
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm b/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm
index a41a6ac..e442347 100644
--- a/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm
@@ -5,6 +5,7 @@ use Carp;
use Data::Dumper;
use DateTime;
+use OpenILS::Utils::MFHD::Caption;
use base 'Exporter';
@@ -107,7 +108,7 @@ sub subsequent_day {
# MMDD: published on the given day of the given month
my ($mon, $day) = unpack("a2a2", $pat);
- if (on_or_after($mon, $day, $cur[1], $cur[2])) {
+ if (MFHD::Caption::on_or_after([$cur[1], $cur[2]], [$mon, $day])) {
# Current date is on or after pattern; next one is next year
$cur[0] += 1;
}
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list