1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="utf-8 " />
6+ < title > MD Persian DateTime To Debug</ title >
7+
8+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css "
9+ integrity ="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T " crossorigin ="anonymous ">
10+ < script src ="https://code.jquery.com/jquery-3.3.1.slim.min.js "
11+ integrity ="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo " crossorigin ="anonymous ">
12+ </ script >
13+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js "
14+ integrity ="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1 " crossorigin ="anonymous ">
15+ </ script >
16+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js "
17+ integrity ="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM " crossorigin ="anonymous ">
18+ </ script >
19+
20+ < link rel ="stylesheet " href ="demo.css " />
21+ < link rel ="stylesheet " href ="../src/jquery.md.bootstrap.datetimepicker.style.css " />
22+ </ head >
23+
24+ < body >
25+ < div class ="container ">
26+ < h2 > Simple</ h2 >
27+ < div class ="row ">
28+ < div class ="col-sm-6 ">
29+ < div class ="input-group ">
30+ < div class ="input-group-prepend ">
31+ < span class ="input-group-text cursor-pointer " id ="dt_class "> Icon</ span >
32+ </ div >
33+ < input type ="text " id ="inputDate3 " class ="form-control " value ="2019-09-22 ">
34+ </ div >
35+ < label id ="showDate_class "> </ label >
36+ </ div >
37+ </ div >
38+ </ div >
39+
40+ < script src ="../src/jquery.md.bootstrap.datetimepicker.js " type ="text/javascript "> </ script >
41+
42+ < script type ="text/javascript ">
43+ $ ( document ) . ready ( function ( ) {
44+ $ ( "#dt_class" ) . MdPersianDateTimePicker ( {
45+ targetDateSelector : "#inputDate3" ,
46+ targetTextSelector : "#showDate_class" ,
47+ textFormat : " dddd dd MMMM yyyy " ,
48+ isGregorian : false
49+ } ) ;
50+ } ) ;
51+ </ script >
52+
53+ < br > < br >
54+ </ body >
55+
56+ </ html >
0 commit comments