[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 0767e7eaa10399f5853992a6f6a10f937931443b

Evergreen Git git at git.evergreen-ils.org
Fri Oct 5 17:12:53 EDT 2018


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_3_1 has been updated
       via  0767e7eaa10399f5853992a6f6a10f937931443b (commit)
      from  8b01e03bdd0826567214e3615d61bdb3d0f8a3ef (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 0767e7eaa10399f5853992a6f6a10f937931443b
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Tue Sep 11 14:58:29 2018 -0400

    LP#1721139: apply proper date format in certain places
    
    This patch ensures that the correct date format is used
    to display dates in certain contexts in the web staff
    client:
    
    - patron bucket summary
    - record bucket summary
    - patron bucket 'View batch edits'
    
    This has the side effect of fixing a problem where the batch
    edit timestamps were not wrapped correctly in Firefox.
    
    To test
    -------
    1. Using user buckets, make some batch changes on some patrons and roll
       back some of those changes.
    2. Using Firefox, click on the 'View Batch Edits' button.
    3. Note that the times dispayed are formatted as raw
       database timestamps
    4. Note that the summary for the user bucket displays the
       create time as a raw database timestamp.
    5. Navigate to a record bucket and note that its create
       time is displayed as a raw timestamp as well.
    3. Apply patch.
    4. Repeat steps 2-5; this time, the times should be displayed
       using the correct date and time format.
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_info.tt2 b/Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_info.tt2
index 9862c33..333f8ee 100644
--- a/Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_info.tt2
+++ b/Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_info.tt2
@@ -6,7 +6,7 @@
       when="{'one': '[% l("1 item") %]', 'other': '[% l("{} items") %]'}">
     </ng-pluralize>
   </span>
-  <span> / [% l('Created {{bucket().create_time() | date}}') %]</span>
+  <span> / [% l('Created {{bucket().create_time() | date:egDateAndTimeFormat}}') %]</span>
   <span ng-show="bucket()._owner_name"> / 
     {{bucket()._owner_name}} 
     <a target="_self" href="./circ/patron/{{bucket().owner()}}/checkout">
diff --git a/Open-ILS/src/templates/staff/circ/patron/bucket/t_bucket_info.tt2 b/Open-ILS/src/templates/staff/circ/patron/bucket/t_bucket_info.tt2
index 6245f95..ee05b48 100644
--- a/Open-ILS/src/templates/staff/circ/patron/bucket/t_bucket_info.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/bucket/t_bucket_info.tt2
@@ -6,7 +6,7 @@
       when="{'one': '[% l("1 item") %]', 'other': '[% l("{} items") %]'}">
     </ng-pluralize>
   </span> 
-  <span> / [% l('Created {{bucket().create_time() | date}}') %]</span>
+  <span> / [% l('Created {{bucket().create_time() | date:egDateAndTimeFormat}}') %]</span>
   <span ng-show="bucket().description()"> / {{bucket().description()}}</span>
 </div>
 
diff --git a/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2 b/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2
index dc98390..dce5481 100644
--- a/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/bucket/t_changesets.tt2
@@ -23,10 +23,10 @@
           {{g.name()}}
         </div>
         <div class="col-md-3">
-          {{g.complete_time() | date}}
+          {{g.complete_time() | date:egDateAndTimeFormat}}
         </div>
         <div class="col-md-3">
-          {{g.rollback_time() | date}}
+          {{g.rollback_time() | date:egDateAndTimeFormat}}
         </div>
         <div class="col-md-2">
           <button class="btn btn-primary"

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

Summary of changes:
 .../staff/cat/bucket/share/t_bucket_info.tt2       |    2 +-
 .../staff/circ/patron/bucket/t_bucket_info.tt2     |    2 +-
 .../staff/circ/patron/bucket/t_changesets.tt2      |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list