Skip to content

Make robust w.r.t. fractional numbers

Compare
Choose a tag to compare
@rogierschouten rogierschouten released this 26 Mar 10:58
· 225 commits to master since this release

1.16.1 (2015-03-26)

  • Make DateTime constructor robust with respect to fractional numbers (it rounds to nearest millisecond)
  • Make DateTime#add() / addLocal() / sub() / subLocal() robust to fractional amounts (works for millis through weeks, throws for months/years)