Closed raleik-pl closed 2 years ago
This commit adds option to customize the locale and format of the datePicker box. It works by using toLocaleDateString(locale, options) method. The config fields for rrdGraphCtrl are: datePickerLocale (default: 'en-US'), and datePickerOptions (default: {}). See source code and https://developer.mozilla.org/pl/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
This commit adds option to customize the locale and format of the datePicker box. It works by using toLocaleDateString(locale, options) method. The config fields for rrdGraphCtrl are: datePickerLocale (default: 'en-US'), and datePickerOptions (default: {}). See source code and https://developer.mozilla.org/pl/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString