1
- # Hijri/Gregorian Datepicker
1
+ # JavaScript Hijri/Gregorian Datepicker Library
2
+
3
+   ;
2
4
3
5
## Demo
4
6
Demo [ here] ( https://zulns.github.io/Datepicker.js/ ) .
@@ -7,14 +9,14 @@ Demo [here](https://zulns.github.io/Datepicker.js/).
7
9
- [ HijriDate.js] ( https://github.com/ZulNs/HijriDate.js ) which allows the use of
8
10
[ ` HijriDate ` ] ( https://zulns.github.io/HijriDate.js/hijri-date-api-doc.html ) objects, JS library to calculates Hijri dates in the same way as built-in
9
11
` Date ` object calculates Gregorian dates.
12
+
10
13
- [ w3css] ( https://github.com/ZulNs/w3css ) , originally forked from [ CSS Framework] ( https://github.com/JaniRefsnes/w3css ) by
11
14
[ Jan Egil Refsnes] ( https://github.com/JaniRefsnes ) for styling this widget.
12
15
13
16
## Usage
14
17
Simply put this code snippet to anywhere you want in the body of your html file:
15
18
16
19
### Offline
17
-
18
20
``` html
19
21
<div id =" datepicker" ></div >
20
22
<link rel =" stylesheet" href =" ../w3css/w3.css" />
@@ -30,7 +32,6 @@ Simply put this code snippet to anywhere you want in the body of your html file:
30
32
```
31
33
32
34
### Online
33
-
34
35
``` html
35
36
<div id =" datepicker" ></div >
36
37
<link rel =" stylesheet" href =" https://zulns.github.io/w3css/w3.css" />
@@ -47,12 +48,11 @@ Simply put this code snippet to anywhere you want in the body of your html file:
47
48
48
49
## Supported Languages
49
50
Languages currently supported are:
50
- - English (en )
51
- - Arabic (ar )
52
- - Indonesian (id )
51
+ - Arabic ( ` "ar" ` )
52
+ - English ( ` "en" ` )
53
+ - Indonesian (` "id" ` )
53
54
54
55
You can extend with your own language by adding this code snippet (assume your language is English):
55
-
56
56
``` javascript
57
57
Datepicker .language [" en" ] = {
58
58
isRTL: false , // or true for right to left language
@@ -105,6 +105,8 @@ API doc [here](datepicker-api-doc.md).
105
105
106
106
  ;
107
107
108
+   ;
109
+
108
110
---
109
111
#### Designed By ZulNs
110
112
##### @Gorontalo , 8 January 2019
0 commit comments