[open-ils-commits] [GIT] Evergreen ILS branch master updated. dfbf4956fc9ad4c19cda234f4468f23788cf862d

Evergreen Git git at git.evergreen-ils.org
Fri Jun 3 16:38:12 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, master has been updated
       via  dfbf4956fc9ad4c19cda234f4468f23788cf862d (commit)
      from  11908662b2a67dd4dac03d715e2fb97a48adfe64 (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 dfbf4956fc9ad4c19cda234f4468f23788cf862d
Author: Bill Erickson <berick at esilibrary.com>
Date:   Fri Jun 3 16:35:25 2011 -0400

    PO activation date display improvement
    
    Use the smarter Util.js date parsing code to prevent small time offsets
    in PO activation date display.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/web/js/ui/default/acq/po/view_po.js b/Open-ILS/web/js/ui/default/acq/po/view_po.js
index ee643eb..8e510f9 100644
--- a/Open-ILS/web/js/ui/default/acq/po/view_po.js
+++ b/Open-ILS/web/js/ui/default/acq/po/view_po.js
@@ -315,10 +315,7 @@ function renderPo() {
         dojo.byId('acq-po-activated-on').innerHTML = 
             dojo.string.substitute(
                 localeStrings.PO_ACTIVATED_ON, [
-                    dojo.date.locale.format(
-                        dojo.date.stamp.fromISOString(PO.order_date()), 
-                        {formatLength:'short'}
-                    )
+                    openils.Util.timeStamp(PO.order_date(), {formatLength:'short'})
                 ]
             );
 

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

Summary of changes:
 Open-ILS/web/js/ui/default/acq/po/view_po.js |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list