40 lines
1.9 KiB
Markdown
40 lines
1.9 KiB
Markdown
# @pushrocks/smarttime
|
|
handle time in smart ways
|
|
|
|
## Availabililty and Links
|
|
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smarttime)
|
|
* [gitlab.com (source)](https://gitlab.com/pushrocks/smarttime)
|
|
* [github.com (source mirror)](https://github.com/pushrocks/smarttime)
|
|
* [docs (typedoc)](https://pushrocks.gitlab.io/smarttime/)
|
|
|
|
## Status for master
|
|
[](https://gitlab.com/pushrocks/smarttime/commits/master)
|
|
[](https://gitlab.com/pushrocks/smarttime/commits/master)
|
|
[](https://www.npmjs.com/package/@pushrocks/smarttime)
|
|
[](https://snyk.io/test/npm/@pushrocks/smarttime)
|
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
[](https://prettier.io/)
|
|
|
|
## Usage
|
|
|
|
Use TypeScript for best in class instellisense.
|
|
|
|
Smarttime offers smart ways to deal with time.
|
|
|
|
### class ExtendedDate
|
|
|
|
This class offers static functions to create zone speicific JavaScript dates from European formated time strings.
|
|
|
|
```TypeScript
|
|
import { ExtendedDate } from '@pushrocks/smarttime'
|
|
const myDate: Date = ExtendedDate.fromEuropeanDate('8.6.2018')
|
|
```
|
|
|
|
For further information read the linked docs at the top of this readme.
|
|
|
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
|
|
|
[](https://maintainedby.lossless.com)
|