[koha-commits] main Koha release repository branch master updated. v3.16.00-446-g8f68dad

Git repo owner gitmaster at git.koha-community.org
Wed Aug 20 18:44:42 CEST 2014


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 "main Koha release repository".

The branch, master has been updated
       via  8f68dad1f2a872fc30b579180c6a5a415cdd77a1 (commit)
       via  7605f91f0f4903b256f5f060ee9845c427947096 (commit)
       via  072d6254478b9fda0543d2cf4a5a68a9f7d83dfc (commit)
      from  8193c40b9dc8f952ff0774d8503bd0e018cf7c05 (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 8f68dad1f2a872fc30b579180c6a5a415cdd77a1
Author: David Cook <dcook at prosentient.com.au>
Date:   Mon Jan 20 13:52:38 2014 +1100

    Bug 11244: (follow-up) Fix $dateonly flag
    
    At the moment, $dateonly is set to true when $1 is defined. However,
    since the regex capture group only includes the time, this flag will
    only be set when there is a value that includes a time.
    
    In effect, this means that timestamps are reduced to dates only,
    while dates have 00-00-0000 added to them.
    
    This patch keeps the logic but reverses the values, so that $dateonly
    will default to true unless $1 is defined.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 7605f91f0f4903b256f5f060ee9845c427947096
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Nov 28 15:01:55 2013 +0100

    Bug 11244: notices ignoring the dateformat preference
    
    Overdue notices are using the MySQL date format and not the dateformat
    in the system preferences.
    
    Test Plan:
    1) Enable checkout notices for a patron, make sure the date due is in
       the notice.
    2) Check out an item to that patron, note the date is in the mysql
       datetime format
    3) Apply this patch
    4) Check out another item to the patron, not the date is now in the
       preferred date format.
    
    Signed-off-by: David Cook <dcook at prosentient.com.au>
    
    I love this patch! It is the best solution to this problem that I've
    seen. I think it is set up to perfectly handle dates in the notices.
    
    Unfortunately, the $dateonly flag is backwards, so the time is stripped
    from timestamps and 00:00:00 is added to dates without times.
    
    I'm adding a follow-up to reverse the setting of this flag.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 072d6254478b9fda0543d2cf4a5a68a9f7d83dfc
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Wed Aug 20 17:58:32 2014 +0200

    Bug 11244: Add unit tests for GetPreparedLetter
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 C4/Letters.pm            |    8 ++++++++
 t/db_dependent/Letters.t |   21 +++++++++++++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list