Skip to content

Bugfix in DateTime#format

Compare
Choose a tag to compare
@rogierschouten rogierschouten released this 13 Jan 14:50
· 200 commits to master since this release
  • Improved documentation for DateTime.add()/sub()/addLocal()/subLocal()
  • Removed console.log() statement
  • Bugfix: DateTime#format() would throw if a zone was specified in the format string but no zone was present
  • DateTime#format() now trims the string before returning it.