-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
* | ||
* persian-date - 1.0.3 | ||
* persian-date - 1.0.4 | ||
* Reza Babakhani <[email protected]> | ||
* http://babakhani.github.io/PersianWebToolkit/docs/persian-date/ | ||
* Under WTFPL license | ||
|
@@ -262,7 +262,7 @@ var PersianDateClass = function () { | |
this.leapYearMode = PersianDateClass.leapYearMode; | ||
|
||
this.algorithms = new Algorithms(this); | ||
this.version = "1.0.3"; | ||
this.version = "1.0.4"; | ||
this._utcMode = false; | ||
if (this.localType !== 'fa') { | ||
this.formatPersian = false; | ||
|
@@ -1481,22 +1481,22 @@ var PersianDateClass = function () { | |
//September 4th 1986 8:30 PM | ||
case 'LLL': | ||
{ | ||
return self.format('MMMM YYYY DD h:m a'); | ||
return self.format('MMMM YYYY DD H:m a'); | ||
} | ||
// Sep 4 1986 8:30 PM | ||
case 'lll': | ||
{ | ||
return self.format('MMM YYYY DD h:m a'); | ||
return self.format('MMM YYYY DD H:m a'); | ||
} | ||
//Thursday, September 4th 1986 8:30 PM | ||
case 'LLLL': | ||
{ | ||
return self.format('dddd D MMMM YYYY h:m a'); | ||
return self.format('dddd D MMMM YYYY H:m a'); | ||
} | ||
// Thu, Sep 4 1986 8:30 PM | ||
case 'llll': | ||
{ | ||
return self.format('ddd D MMM YYYY h:m a'); | ||
return self.format('ddd D MMM YYYY H:m a'); | ||
} | ||
} | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"name": "persian-date", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"license": "WTFPL", | ||
"main": "dist/persian-date", | ||
"author": "Reza Babakhani <[email protected]>", | ||
"description": "Javascript date library for parsing, validating, manipulating, and formatting persian dates System.", | ||
"keywords": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters