-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #405 from spencermountain/dev
Dev
- Loading branch information
Showing
21 changed files
with
2,536 additions
and
2,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
// const spacetime = require('./builds/spacetime.cjs') | ||
import spacetime from './src/index.js' | ||
|
||
let s = spacetime('feb 1st 2023', 'Africa/Casablanca') | ||
console.log(s.timezone().current.offset) | ||
s = spacetime('apr 1st 2023', 'Africa/Casablanca') | ||
console.log(s.timezone().current.offset) | ||
s = spacetime('oct 1st 2023', 'Africa/Casablanca') | ||
console.log(s.timezone().current.offset) | ||
|
||
// s = spacetime.now('Europe/Lisbon') | ||
let s = spacetime(null, 'pacific/fiji') | ||
console.log(s.time()) | ||
console.log(s.timezone()) | ||
// s = s.minus(5, 'months') | ||
// console.log(s.time()) | ||
// console.log(s.timezone()) | ||
|
||
// s = spacetime(null, 'America/Toronto') | ||
// console.log(s.time()) | ||
// console.log(s.timezone()) | ||
|
||
// s = s.year(2020) | ||
// s = s.dayOfYear(366); | ||
// console.log(s.dayTime()); | ||
|
||
// let s = spacetime('03/31/2002', 'America/Denver') | ||
// console.log(s.iso()) | ||
|
||
// casablanca is + 1, 0, +1 | ||
/* | ||
bahia_banderas | ||
chihuahua | ||
mazatlan | ||
merida | ||
mexico_city | ||
monterrey | ||
amman | ||
damascus | ||
tehran | ||
fiji | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export default '7.4.7' | ||
export default '7.5.0' |
Oops, something went wrong.