@corpsmap/corpsmap 3.2.33 → 3.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/dev.js CHANGED
@@ -106568,7 +106568,7 @@ var config = {
106568
106568
  };
106569
106569
 
106570
106570
  var name = "@corpsmap/corpsmap";
106571
- var version$1 = "3.2.33";
106571
+ var version$1 = "3.2.34";
106572
106572
  var description = "CorpsMap as React Components";
106573
106573
  var main = "index.js";
106574
106574
  var scripts = {
@@ -133866,7 +133866,7 @@ var ChangeLogModal = /*#__PURE__*/function (_React$Component) {
133866
133866
  key: "formatDate",
133867
133867
  value: function formatDate(oldDate) {
133868
133868
  var newDate = new Date(oldDate);
133869
- newDate = newDate.toLocaleString('default', {
133869
+ newDate = newDate.toLocaleDateString('default', {
133870
133870
  month: 'long',
133871
133871
  day: 'numeric',
133872
133872
  year: 'numeric'
package/lib/prod.js CHANGED
@@ -106482,7 +106482,7 @@ var config = {
106482
106482
  };
106483
106483
 
106484
106484
  var name = "@corpsmap/corpsmap";
106485
- var version$1 = "3.2.33";
106485
+ var version$1 = "3.2.34";
106486
106486
  var description = "CorpsMap as React Components";
106487
106487
  var main = "index.js";
106488
106488
  var scripts = {
@@ -133780,7 +133780,7 @@ var ChangeLogModal = /*#__PURE__*/function (_React$Component) {
133780
133780
  key: "formatDate",
133781
133781
  value: function formatDate(oldDate) {
133782
133782
  var newDate = new Date(oldDate);
133783
- newDate = newDate.toLocaleString('default', {
133783
+ newDate = newDate.toLocaleDateString('default', {
133784
133784
  month: 'long',
133785
133785
  day: 'numeric',
133786
133786
  year: 'numeric'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corpsmap/corpsmap",
3
- "version": "3.2.33",
3
+ "version": "3.2.34",
4
4
  "description": "CorpsMap as React Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@ class ChangeLogModal extends React.Component {
29
29
 
30
30
  formatDate(oldDate){
31
31
  let newDate = new Date(oldDate);
32
- newDate = newDate.toLocaleString('default', { month: 'long', day: 'numeric', year: 'numeric'});
32
+ newDate = newDate.toLocaleDateString('default', { month: 'long', day: 'numeric', year: 'numeric'});
33
33
  return newDate
34
34
  }
35
35