Skip to content

Commit f263d5d

Browse files
authored
Update README.md
1 parent 74bb47a commit f263d5d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Hijri/Gregorian Datepicker
1+
# JavaScript Hijri/Gregorian Datepicker Library
2+
3+
 
24

35
## Demo
46
Demo [here](https://zulns.github.io/Datepicker.js/).
@@ -7,14 +9,14 @@ Demo [here](https://zulns.github.io/Datepicker.js/).
79
- [HijriDate.js](https://github.com/ZulNs/HijriDate.js) which allows the use of
810
[`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
911
`Date` object calculates Gregorian dates.
12+
1013
- [w3css](https://github.com/ZulNs/w3css), originally forked from [CSS Framework](https://github.com/JaniRefsnes/w3css) by
1114
[Jan Egil Refsnes](https://github.com/JaniRefsnes) for styling this widget.
1215

1316
## Usage
1417
Simply put this code snippet to anywhere you want in the body of your html file:
1518

1619
### Offline
17-
1820
```html
1921
<div id="datepicker"></div>
2022
<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:
3032
```
3133

3234
### Online
33-
3435
```html
3536
<div id="datepicker"></div>
3637
<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:
4748

4849
## Supported Languages
4950
Languages currently supported are:
50-
- English (en)
51-
- Arabic (ar)
52-
- Indonesian (id)
51+
- Arabic (`"ar"`)
52+
- English (`"en"`)
53+
- Indonesian (`"id"`)
5354

5455
You can extend with your own language by adding this code snippet (assume your language is English):
55-
5656
```javascript
5757
Datepicker.language["en"] = {
5858
isRTL: false, // or true for right to left language
@@ -105,6 +105,8 @@ API doc [here](datepicker-api-doc.md).
105105

106106
&nbsp;
107107

108+
&nbsp;
109+
108110
---
109111
#### Designed By ZulNs
110112
##### @Gorontalo, 8 January 2019

0 commit comments

Comments
 (0)