We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d6a5f commit 94c3ec8Copy full SHA for 94c3ec8
1 file changed
interface/web/js/uni-form/uni-form.jquery.js
@@ -82,6 +82,7 @@ function DateTime_SetValues(datetime_id, date_obj)
82
break;
83
case 'month':
84
unit_value = now.getMonth() + 1;
85
+ if(unit_value < 10) unit_value = '0'+unit_value;
86
87
case 'year':
88
unit_value = now.getFullYear();
0 commit comments