From 934df71ada3827fbe6a1a173db0f1e68f9133d70 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 19 Nov 2009 07:08:08 +0000 Subject: [PATCH] option for no time, just date git-svn-id: svn://svn.open-ils.org/ILS/trunk@14968 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/date.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/date.js b/Open-ILS/xul/staff_client/chrome/content/util/date.js index 096ac0eeb..2f67d9dd6 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/date.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/date.js @@ -86,6 +86,7 @@ util.date.formatted_date = function (orig_date,format) { var s = format; if (s == '') { s = '%F %H:%M'; } s = s.replace( /%\{localized\}/g, dojo.date.locale.format( _date ) ); + s = s.replace( /%\{localized_date\}/g, dojo.date.locale.format( _date, { 'selector' : 'date' } ) ); s = s.replace( /%\{iso8601\}/g, dojo.date.stamp.toISOString( _date ) ); s = s.replace( /%m/g, mm ); s = s.replace( /%d/g, dd ); -- 2.11.0