sf-i-events 1.0.204 → 1.0.205
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/package.json +1 -1
- package/sf-i-events.js +1 -1
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +1 -1
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -6586,7 +6586,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
6586
6586
|
const ts = new Date().getTime();
|
|
6587
6587
|
var html = this.COMPLIANCES_HTML;
|
|
6588
6588
|
html = html.replace(/PROJECT_NAME/g, this.projectName);
|
|
6589
|
-
html = html.replace(/REPORT_DATE/g, new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + " " + new Date().getHours() + ":" + new Date().getMinutes());
|
|
6589
|
+
html = html.replace(/REPORT_DATE/g, new Date().getDate() + "/" + (new Date().getMonth() + 1) + "/" + new Date().getFullYear() + " " + new Date().getHours() + ":" + new Date().getMinutes());
|
|
6590
6590
|
html = html.replace(/PERSON_COMPLIANCES/g, this.htmlDataCompliances);
|
|
6591
6591
|
const blob = new Blob([html], { type: 'text/html' });
|
|
6592
6592
|
const url = window.URL.createObjectURL(blob);
|