poi-plugin-akashic-records
Advanced tools
Comparing version 6.1.4 to 6.1.5
@@ -79,3 +79,3 @@ "use strict"; | ||
const month = date.getMonth() < 9 ? `0${date.getMonth() + 1}` : `${date.getMonth() + 1}`; | ||
const day = date.getDate() < 9 ? `0${date.getDate() + 1}` : `${date.getDate() + 1}`; | ||
const day = date.getDate() < 10 ? `0${date.getDate()}` : `${date.getDate()}`; | ||
_fsExtra2.default.appendFile(_pathExtra2.default.join(DATA_PATH, 'akashic-records', this.nickNameId.toString(), type, `${year}${month}${day}`), `${log.join(',')}\n`, 'utf8', err => { | ||
@@ -82,0 +82,0 @@ if (err && process.env.DEBUG) |
{ | ||
"name": "poi-plugin-akashic-records", | ||
"version": "6.1.4", | ||
"version": "6.1.5", | ||
"description": "logbook plugin for poi", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -387,3 +387,3 @@ 'use strict'; | ||
if (this.wholeDataLength > 0) { | ||
dateString = toDateString(nextProps.data[nextProps.data && -this.wholeDataLength][0]); | ||
dateString = toDateString(nextProps.data[nextProps.data.length - this.wholeDataLength][0]); | ||
} | ||
@@ -390,0 +390,0 @@ if (this.resourceChart.getSeries() != null) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2733181