From dfbf4956fc9ad4c19cda234f4468f23788cf862d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 3 Jun 2011 16:35:25 -0400 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/acq/po/view_po.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ee643eb122..8e510f956e 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'}) ] ); -- 2.11.0