This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f9d94d  fix var name
9f9d94d is described below

commit 9f9d94dc3cace19946cfbffe93ddca193da2f0b6
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Nov 17 18:36:35 2021 +0100

    fix var name
---
 webui/js/source/datepicker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webui/js/source/datepicker.js b/webui/js/source/datepicker.js
index 26edfde..e81fd3b 100644
--- a/webui/js/source/datepicker.js
+++ b/webui/js/source/datepicker.js
@@ -402,7 +402,7 @@ function datePickerValue(seedPeriod) {
             var mr = seedPeriod.match(/(\d+)-(\d+)/)
             if (mr) {
                 dfrom = new Date(parseInt(mr[1]), parseInt(mr[2]) - 1, 1, 0, 
0, 0)
-                rv = months[dfrom.getMonth()] + ', ' + mr[1]
+                rv = MONTHS[dfrom.getMonth()] + ', ' + mr[1]
             }
         }
 

Reply via email to