Skip to content

Commit

Permalink
🏗 0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wmakeev committed Feb 5, 2018
1 parent fb1f248 commit ea2f336
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/moysklad.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ const MSK_TIMEZONE_OFFSET = 180 * 60 * 1000;
module.exports = function getTimeString(date, includeMs) {
let mskTime = new Date(+date + MSK_TIMEZONE_OFFSET);

return mskTime.toJSON().replace('T', ' ').replace(includeMs ? /Z$/ : /\.\d{3}Z$/, '');
return mskTime.toJSON().replace('T', ' ').replace(includeMs ? /Z$/ : /(\.\d{3})?Z$/, '');
};

},{}],16:[function(require,module,exports){
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/fetchOptions.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/__tests__/fetchOptions.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/tools/getTimeString.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/tools/getTimeString.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea2f336

Please sign in to comment.