Frontend: Fix edit month dropdown #430

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-08-12 04:57:31 +02:00
parent 336ad3e751
commit 2633e12dac

View file

@ -63,7 +63,7 @@ export const MonthsShort = () => {
let result = [];
for (let i = 1; i <= 12; i++) {
result.push({"value": i + 1, "text": i.toString().padStart(2, "0")});
result.push({"value": i, "text": i.toString().padStart(2, "0")});
}
result.push({"value": -1, "text": $gettext("Unknown")});