From 94c3ec8a26a755d567a31188dab63cb96febfb77 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Wed, 3 Mar 2010 10:31:49 +0000 Subject: [PATCH] Fixed: FS#1093 - now-button in autoresponder form not working correctly. --- interface/web/js/uni-form/uni-form.jquery.js | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/web/js/uni-form/uni-form.jquery.js b/interface/web/js/uni-form/uni-form.jquery.js index 515c557022..99ab409d60 100644 --- a/interface/web/js/uni-form/uni-form.jquery.js +++ b/interface/web/js/uni-form/uni-form.jquery.js @@ -82,6 +82,7 @@ function DateTime_SetValues(datetime_id, date_obj) break; case 'month': unit_value = now.getMonth() + 1; + if(unit_value < 10) unit_value = '0'+unit_value; break; case 'year': unit_value = now.getFullYear(); -- GitLab