Skip to content

Commit

Permalink
7.6.2rc
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Oct 10, 2024
1 parent 405ccc2 commit de87d05
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions builds/spacetime.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* spencermountain/spacetime 7.6.1 Apache 2.0 */
/* spencermountain/spacetime 7.6.2 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 @@ -415,7 +415,8 @@
if (isDate(tmp)) {
return tmp.getTime()
}
if (tmp.epoch) {
// support spacetime objects
if (tmp.epoch || tmp.epoch === 0) {
return tmp.epoch
}
return null
Expand Down Expand Up @@ -4135,7 +4136,7 @@
};
var whereIts$1 = whereIts;

var version = '7.6.1';
var version = '7.6.2';

const main = (input, tz, options) => new Spacetime(input, tz, options);

Expand Down
2 changes: 1 addition & 1 deletion builds/spacetime.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/spacetime.mjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ This project follows semVer, where:
-->

### 7.6.2 [Oct 2024]
- **[fix]** - isEqual null on 1970-01-01 #417

### 7.6.1 [July 2024]
- **[new]** - add stepCount paramater to `.every()` #411
- **[fix]** - eslint update and fixes
Expand Down
2 changes: 1 addition & 1 deletion src/_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '7.6.1'
export default '7.6.2'

0 comments on commit de87d05

Please sign in to comment.