[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. b772570df3b9e98f48226fe4ad7d156fc259aad6

Evergreen Git git at git.evergreen-ils.org
Fri Jun 3 16:39:28 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  b772570df3b9e98f48226fe4ad7d156fc259aad6 (commit)
      from  b7502d2c9231cb34ccf03da08e9fd82c8ba12607 (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 b772570df3b9e98f48226fe4ad7d156fc259aad6
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