update docs
This commit is contained in:
parent
f5277cefc4
commit
f157711d83
29
docs/index.md
Normal file
29
docs/index.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# smarttime
|
||||||
|
handle timeformats in smart ways
|
||||||
|
|
||||||
|
## Availabililty
|
||||||
|
[](https://www.npmjs.com/package/smarttime)
|
||||||
|
[](https://GitLab.com/pushrocks/smarttime)
|
||||||
|
[](https://github.com/pushrocks/smarttime)
|
||||||
|
[](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/smarttime)
|
||||||
|
[](https://david-dm.org/pushrocks/smarttime)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/smarttime/master/dependencies/npm)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/smarttime)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](http://standardjs.com/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Use TypeScript for best in class instellisense.
|
||||||
|
|
||||||
|
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://push.rocks)
|
29
readme.md
Normal file
29
readme.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# smarttime
|
||||||
|
handle timeformats in smart ways
|
||||||
|
|
||||||
|
## Availabililty
|
||||||
|
[](https://www.npmjs.com/package/smarttime)
|
||||||
|
[](https://GitLab.com/pushrocks/smarttime)
|
||||||
|
[](https://github.com/pushrocks/smarttime)
|
||||||
|
[](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/smarttime)
|
||||||
|
[](https://david-dm.org/pushrocks/smarttime)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/smarttime/master/dependencies/npm)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/smarttime)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](http://standardjs.com/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Use TypeScript for best in class instellisense.
|
||||||
|
|
||||||
|
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://push.rocks)
|
@ -16,6 +16,7 @@ tap.test('should create valid testTimeStamp instance', async (tools) => {
|
|||||||
tap.test('should have valid linuxtime', async () => {
|
tap.test('should have valid linuxtime', async () => {
|
||||||
// tslint:disable-next-line:no-unused-expression
|
// tslint:disable-next-line:no-unused-expression
|
||||||
expect(testTimeStamp.isOlderThan(testTimeStamp2)).to.be.true
|
expect(testTimeStamp.isOlderThan(testTimeStamp2)).to.be.true
|
||||||
|
// tslint:disable-next-line:no-unused-expression
|
||||||
expect(testTimeStamp.isYoungerThan(testTimeStamp2)).to.be.false
|
expect(testTimeStamp.isYoungerThan(testTimeStamp2)).to.be.false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user