Skip to content

Commit 94c3ec8

Browse files
committed
Fixed: FS#1093 - now-button in autoresponder form not working correctly.
1 parent c0d6a5f commit 94c3ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/js/uni-form/uni-form.jquery.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function DateTime_SetValues(datetime_id, date_obj)
8282
break;
8383
case 'month':
8484
unit_value = now.getMonth() + 1;
85+
if(unit_value < 10) unit_value = '0'+unit_value;
8586
break;
8687
case 'year':
8788
unit_value = now.getFullYear();

0 commit comments

Comments
 (0)