Skip to content

Commit

Permalink
Merge pull request #6 from sonill/2.2
Browse files Browse the repository at this point in the history
fix nepali date bug
  • Loading branch information
sonill authored Jun 19, 2024
2 parents e9b4ea2 + 8485793 commit f8c9626
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 89 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/Nepali-Multi-Date-Picker.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

174 changes: 87 additions & 87 deletions nepali-date-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -787,98 +787,98 @@
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2004
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2005
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2006
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2006
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], // 2007
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2008
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2009
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2010
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[30, 32, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[30, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2007
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], // 2008
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2009
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2010
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2011
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], // 2012
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2013
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2014
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2015
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], // 2016
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2017
[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2018
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2019
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2020
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2021
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], // 2022
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2023
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2024
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2025
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2026
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2027
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2028
[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], // 2029
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2030
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2031
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2032
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2033
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2034
[30, 32, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], // 2035
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2036
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2037
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2038
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], // 2039
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2040
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2041
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2042
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], // 2043
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2044
[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2045
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2046
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2047
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2048
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], // 2049
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2050
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2051
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2052
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], // 2053
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2054
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2055
[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], // 2056
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2057
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2058
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2059
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2060
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2061
[30, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31], // 2062
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2063
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2064
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2065
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], // 2066
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2067
[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2068
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], // 2069
[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], // 2070
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], //2071
[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], //2072
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], //2073
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2074
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2075
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], // 2076
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
[31, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 32, 31, 32, 30, 31, 30, 30, 29, 30, 30, 30],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30],
[30, 31, 32, 32, 30, 31, 30, 30, 29, 30, 30, 30],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2077
[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], // 2078
[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], // 2079
[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], // 2080
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], // 2081
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2082
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30], // 2083
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30], // 2084
[31, 32, 31, 32, 30, 31, 30, 30, 29, 30, 30, 30], // 2085
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2086
[31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30], // 2087
[30, 31, 32, 32, 30, 31, 30, 30, 29, 30, 30, 30], // 2088
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2089
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], //2090
[31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30],
[30, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 31, 30, 29, 30, 30, 30, 30],
[30, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
[31, 31, 32, 31, 31, 31, 29, 30, 29, 30, 29, 31],
[31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30], // 2091
[30, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2092
[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2093
[31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30], // 2094
[31, 31, 32, 31, 31, 31, 30, 29, 30, 30, 30, 30], // 2095
[30, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], // 2096
[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30], // 2097
[31, 31, 32, 31, 31, 31, 29, 30, 29, 30, 29, 31], // 2098
[31, 31, 32, 31, 31, 31, 30, 29, 29, 30, 30, 30] //2099
];

Expand Down
2 changes: 1 addition & 1 deletion nepali-date-picker.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nepali-date-picker.min.js

Large diffs are not rendered by default.

0 comments on commit f8c9626

Please sign in to comment.