From 2633e12dac9af7135696417331f3bc5325c88989 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 12 Aug 2020 04:57:31 +0200 Subject: [PATCH] Frontend: Fix edit month dropdown #430 Signed-off-by: Michael Mayer --- frontend/src/options/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/options/options.js b/frontend/src/options/options.js index aaf33f166..81ddcac0d 100644 --- a/frontend/src/options/options.js +++ b/frontend/src/options/options.js @@ -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")});