[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 3b4a844b1c00936a37a8b1cfc0fe96a2463eaa31

Evergreen Git git at git.evergreen-ils.org
Fri Jun 3 16:39:01 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_1 has been updated
       via  3b4a844b1c00936a37a8b1cfc0fe96a2463eaa31 (commit)
      from  bfb3104d8f5adce39031c4ce9ca9b0c644fc46e8 (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 3b4a844b1c00936a37a8b1cfc0fe96a2463eaa31
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