Browse
For agents
About
WebTotem Security
/
2.2.3
WebTotem Security
v2.2.3
Switch version
3.0.1
3.0.0
trunk
1.0
1.1
1.2
1.3
1.3.1
1.3.2
1.3.3
2.0
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.1
2.2.2
2.2.3
2.2.4
All 109 releases
Overview
Code
wt-security
/
htdocs
/
js
/
filterCalendar.js
filterCalendar.js
in WebTotem Security 2.2.3, at htdocs/js/filterCalendar.js
10 lines
325 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
const
calendar
=
document
.
querySelector
(
"
.flatpickr
"
)
;
2
if
(
calendar
)
{
3
const
fp
=
flatpickr
(
calendar
,
{
4
plugins
:
[
new
rangePlugin
(
{
input
:
"
#secondRangeInput
"
}
)
]
,
5
altInput
:
true
,
6
altFormat
:
"
j M, Y
"
,
7
dateFormat
:
"
d-m-Y
"
,
8
//
defaultDate: ["2020-7-20", "2016-7-29"],
9
}
)
;
10
}