Skip to content

Release 1.0.0

Compare
Choose a tag to compare
@rodrigogs rodrigogs released this 09 Jan 22:35
· 46 commits to master since this release

Manipulating a Gnomon instance now returns itself in each operation, so you can now waterfall through operations:

const Kairos = require('kairos').Gnomon;

let time = new Kairos('01:00').minus('00:30').divide(2).setHours(3);
console.log(time.toExpression()); // 03:15