Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moment-business

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-business - npm Package Versions

3.0.1

Diff

Changelog

Source

3.0.1

  • Fix the name of the library in non-module loader browser environments. Previously, the library was attached as window.none. Now it is available under window.momentBusiness. Note that this issue does not affect users building with ES2015/CommonJS/AMD module bundlers.
jmeas
published 3.0.0 •

Changelog

Source

3.0.0

  • The functions in this library now accept moments as arguments rather than being attached to the Moment prototype.
  • The behavior is weekDays and weekendDays now aligns more closely with Moment.prototype.diff. If the endMoment passed in comes before startMoment, then the result will be negative.
  • Better docs!
jmeas
published 2.0.0 •

Changelog

Source

2.0.0

The API is now more consistent.

  • Rename isWorkDay to isWeekDay
  • Rename addWorkDays to addWeekDays
  • Rename subtractWorkDays to subtractWeekDays
jmeas
published 1.1.1 •

Changelog

Source

1.1.1

  • Add dependencies to bower.json
  • Support invalid values when adding or subtracting work days (it returns the same moment)
  • Add this CHANGELOG file
jmeas
published 1.1.0 •

Changelog

Source

1.1.0

  • Two new methods: isWeekendDay and isWorkDay
jmeas
published 1.0.1 •

Changelog

Source

1.0.1

  • Fixes an issue with the UMD wrapper
jmeas
published 1.0.0 •

Changelog

Source

1.0.0

First major release.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc