Skip to content

Commit

Permalink
Merge pull request #244 from spencermountain/dev
Browse files Browse the repository at this point in the history
v6.10.1 rc
  • Loading branch information
spencermountain authored Nov 20, 2020
2 parents 0a7d2e5 + b2d2399 commit 4f3a362
Show file tree
Hide file tree
Showing 12 changed files with 224 additions and 233 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"root": true,
"env": {
"es6": true
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 13.x]
node-version: [10.x, 15.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion _version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '6.10.0'
module.exports = '6.10.1'
6 changes: 3 additions & 3 deletions builds/spacetime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* spencermountain/spacetime 6.10.0 Apache 2.0 */
/* spencermountain/spacetime 6.10.1 Apache 2.0 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -341,7 +341,7 @@
var toIana = function toIana(num) {
num = Number(num);

if (num > -13 && num < 13) {
if (num >= -13 && num <= 13) {
num = num * -1; //it's opposite!

num = (num > 0 ? '+' : '') + num; //add plus sign
Expand Down Expand Up @@ -4171,7 +4171,7 @@

var whereIts_1 = whereIts;

var _version = '6.10.0';
var _version = '6.10.1';

var main$1 = function main(input, tz, options) {
return new spacetime(input, tz, options);
Expand Down
2 changes: 1 addition & 1 deletion builds/spacetime.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions builds/spacetime.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* spencermountain/spacetime 6.10.0 Apache 2.0 */
/* spencermountain/spacetime 6.10.1 Apache 2.0 */
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
}
Expand Down Expand Up @@ -335,7 +335,7 @@ var gmtOffset = /gmt([\-+]?[0-9]+)/i;
var toIana = function toIana(num) {
num = Number(num);

if (num > -13 && num < 13) {
if (num >= -13 && num <= 13) {
num = num * -1; //it's opposite!

num = (num > 0 ? '+' : '') + num; //add plus sign
Expand Down Expand Up @@ -4165,7 +4165,7 @@ var whereIts = function whereIts(a, b) {

var whereIts_1 = whereIts;

var _version = '6.10.0';
var _version = '6.10.1';

var main$1 = function main(input, tz, options) {
return new spacetime(input, tz, options);
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This project follows semVer, where:
<!-- [unreleased]
-->

### v6.10.1
- **[fix]** - keep yukon dst changes (for now!) #243
- **[fix]** - support new-zealand time in '13h' format #242
- update deps

### v6.10.0
- **[fix]** - support whitespace between time and am/pm (thanks Andy!)
- **[change]** - make empty array + obj equal to null inputs #240
Expand Down
Loading

0 comments on commit 4f3a362

Please sign in to comment.