two digit day month on reps doc

This commit is contained in:
2025-01-07 11:23:53 +00:00
parent b1edb208c6
commit b0cafb58be
3 changed files with 19 additions and 6 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ let MakeRepresentation = (props) => {
const repDate = new Date();
let day = repDate.getDate();
let month = repDate.getMonth() + 1;
let day = ("0" + repDate.getDate()).slice(-2);
let month = ("0" + repDate.getMonth() + 1).slice(-2);
let year = repDate.getFullYear();
switch (values.representationCapacity) {