@sis-cc/dotstatsuite-components 15.0.12 → 15.0.13

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.
@@ -129,7 +129,6 @@ var getReportedTimePeriod = exports.getReportedTimePeriod = function getReported
129
129
  if (reportYearStart.month === '01' && reportYearStart.day === '01') {
130
130
  return { start: start, end: end };
131
131
  }
132
- start = _dateFns2.default.addMinutes(start, start.getTimezoneOffset());
133
132
  start = _dateFns2.default.addMonths(start, reportYearStart.month - 1);
134
133
  start = _dateFns2.default.addDays(start, reportYearStart.day - 1);
135
134
  if (freq === 'A') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-components",
3
3
  "description": "Set components based on React.",
4
- "version": "15.0.12",
4
+ "version": "15.0.13",
5
5
  "main": "lib/index.js",
6
6
  "author": "OECD",
7
7
  "license": "MIT",
@@ -65,7 +65,6 @@ export const getReportedTimePeriod = (reportYearStart, value, freq) => {
65
65
  if(reportYearStart.month === '01' && reportYearStart.day === '01') {
66
66
  return ({ start, end });
67
67
  }
68
- start = dateFns.addMinutes(start, start.getTimezoneOffset());
69
68
  start = dateFns.addMonths(start, reportYearStart.month - 1);
70
69
  start = dateFns.addDays(start, reportYearStart.day - 1);
71
70
  if (freq === 'A') {