From: Bill Erickson Date: Fri, 3 Jun 2011 20:35:25 +0000 (-0400) Subject: PO activation date display improvement X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dfbf4956fc9ad4c19cda234f4468f23788cf862d;p=contrib%2FConifer.git 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 --- 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'}) ] );