Skip to content

Commit

Permalink
feat: Added extensions for Temporal (#15)
Browse files Browse the repository at this point in the history
This PR includes all the additions to move `graphql-service` over from
`date-fns` / `luxon` to purely `Temporal`. Most of the tests are ported
from the equivalent `date-fns` functions. Implementations / jsdoc have
also been converted from `date-fns` where applicable. `addBusinessDays`
and `differenceInBusinessDays` implementations taken from prior version
in this repo.

Other changes:  
* Refactored directory structure for other extensions
* Added tests for every extension missing one
  • Loading branch information
zgavin authored May 3, 2024
1 parent 80da6d2 commit 59dae11
Show file tree
Hide file tree
Showing 158 changed files with 5,389 additions and 1,683 deletions.
7 changes: 7 additions & 0 deletions .idea/prettier.xml

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"*.{js,ts,tsx}": "eslint --fix"
},
"dependencies": {
"date-fns": "^3.5.0"
"temporal-polyfill": "^0.2.4"
}
}
236 changes: 0 additions & 236 deletions src/array.test.ts

This file was deleted.

Loading

0 comments on commit 59dae11

Please sign in to comment.