https://github.com/croct-tech/time-js
Additional date-time classes that complement the standard library.
https://github.com/croct-tech/time-js
datetime time
Last synced: 6 months ago
JSON representation
Additional date-time classes that complement the standard library.
- Host: GitHub
- URL: https://github.com/croct-tech/time-js
- Owner: croct-tech
- License: mit
- Created: 2021-04-13T13:28:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T20:41:16.000Z (10 months ago)
- Last Synced: 2025-07-18T06:51:36.220Z (6 months ago)
- Topics: datetime, time
- Language: TypeScript
- Homepage:
- Size: 806 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Time Library
Additional date-time classes that complement the standard library.
📦Releases
·
🐞Report Bug
·
✨Request Feature
## Installation
Use the package manage [NPM](https://getcomposer.org) to install the package:
```sh
npm install @croct/time
```
## Contributing
Contributions to the package are always welcome!
- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/time-js/issues).
- For major changes, please [open an issue](https://github.com/croct-tech/time-js/issues) first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
## Testing
Before running the test suites, the development dependencies must be installed:
```sh
npm install
```
Then, to run all tests:
```sh
npm run test
```
Run the following command to check the code against the style guide:
```sh
npm run lint
```
## Building
Before building the project, the dependencies must be installed:
```sh
npm run build
```
## Local development
To use a local development version on other projects, you must link the built artifacts with npm:
```sh
npm run build
cd build
ln -s ../package.json package.json || true
npm link
```
Then on any other project that uses the library:
```sh
npm link @croct/time
```
## License
Copyright © 2015-2021 Croct Limited, All Rights Reserved.
All information contained herein is, and remains the property of Croct Limited. The intellectual, design and technical concepts contained herein are proprietary to Croct Limited s and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Croct Limited.