Skip to content

Commit 4b47950

Browse files
committed
Updates to release v1.3.7 fixes #29
1 parent dd3b2ac commit 4b47950

File tree

7 files changed

+17
-8
lines changed

7 files changed

+17
-8
lines changed

CHANGE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change Log: `php-date-formatter`
22
================================
33

4+
## Version 1.3.7
5+
6+
**Date:** 07-Feb-2025
7+
8+
- (enh #29): Prevent prototype pollution vulnerability.
9+
- (enh #28): Add timezone AEST.
10+
411
## Version 1.3.6
512

613
**Date:** 14-Apr-2020

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 - 2020, Kartik Visweswaran
1+
Copyright (c) 2014 - 2025, Kartik Visweswaran
22
Krajee.com
33
All rights reserved.
44

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ server side and client side validation should help in building extensible applic
2525

2626
This library is a standalone javascript library and does not depend on other libraries or plugins like jQuery.
2727

28-
The latest release of the library is v1.3.6. Check the [CHANGE LOG](https://github.com/kartik-v/php-date-formatter/blob/master/CHANGE.md) for details.
28+
Check the [CHANGE LOG](https://github.com/kartik-v/php-date-formatter/blob/master/CHANGE.md) for release details.
2929

3030
## Features
3131

3232
- Parse date/time strings or a Date object, and convert it into Javascript Date Object by passing any of the [PHP DateTime formats](http://php.net/manual/en/function.date.php).
3333
- Automatically guess date/time strings, even if it does not exactly match the format, and convert it into Javascript Date Object.
3434
- Read date/time strings or a Date object, and format it as per a [PHP DateTime format](http://php.net/manual/en/function.date.php).
35-
- With release v1.3.2 the library has been converted to use pure javacript code without dependency on jQuery or other third party JS library.
35+
- With release v1.3.2 the library has been converted to use pure javascript code without dependency on jQuery or other third party JS library.
3636

3737
## Documentation and Demo
3838

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "php-date-formatter",
3-
"version": "1.3.6",
3+
"version": "1.3.7",
44
"homepage": "https://github.com/kartik-v/php-date-formatter",
55
"authors": [
66
"Kartik Visweswaran <[email protected]>"

js/php-date-formatter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
2+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2025
33
* @version 1.3.6
44
*
55
* Date formatter utility library that allows formatting date/time variables or Date objects using PHP DateTime format.
@@ -650,5 +650,6 @@
650650
return '';
651651
}
652652
};
653+
Object.freeze(DateFormatter);
653654
return DateFormatter;
654655
}));

js/php-date-formatter.min.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "php-date-formatter",
3-
"version": "1.3.6",
3+
"version": "1.3.7",
44
"description": "A Javascript datetime formatting and manipulation library using PHP date-time formats.",
55
"main": "js/php-date-formatter.js",
66
"directories": {

0 commit comments

Comments
 (0)