indexzero/TimeSpan.js — pull request #6 by timdestan (2014-11-22 18:58:35+00:00)
Title: Factory methods now accept 0.

Previously, fromSeconds and similar methods would return `undefined` if passed `0` as input. Now they return a zero length time span.

This was caused by a check in `isNumeric`, which was counting 0 as non-numeric.

This fixes [this issue](https://github.com/indexzero/TimeSpan.js/issues/4).