[freeside-commits] branch master updated. 459e2cda8a891cc062d39780991d631b6f2c6b6d

Ivan Kohler ivan at freeside.biz
Sat Apr 11 12:14:26 PDT 2020


The branch, master has been updated
       via  459e2cda8a891cc062d39780991d631b6f2c6b6d (commit)
      from  9bdf269d8976f2a6c175075c034913dc7e201b04 (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 459e2cda8a891cc062d39780991d631b6f2c6b6d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Apr 11 12:14:25 2020 -0700

    clarification

diff --git a/FS/FS/part_event/Condition/holiday.pm b/FS/FS/part_event/Condition/holiday.pm
index 1639a17a6..77538b009 100644
--- a/FS/FS/part_event/Condition/holiday.pm
+++ b/FS/FS/part_event/Condition/holiday.pm
@@ -34,10 +34,8 @@ tie my %holidays, 'Tie::IxHash',
     => { 'rule' => 'RRULE:FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=25' }, # December 25
 ;
 
-my $oneday = DateTime::Duration->new(days => 1);
-
 sub description {
-  "Do not run on holidays",
+  "Do not run on US holidays",
 }
 
 sub option_fields {
@@ -52,6 +50,8 @@ sub option_fields {
   );
 }
 
+my $oneday = DateTime::Duration->new(days => 1);
+
 sub condition {
   my( $self, $object, %opt ) = @_;
   my $today = DateTime->from_epoch(

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_event/Condition/holiday.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list