Closed sneakylenny closed 2 years ago
This PR adds support for the defaultFormat option to be configured in moment.js through the module options. Added appropriate tests which passed on my machine.
Fixes #73 and kept my word https://github.com/nuxt-community/moment-module/issues/73#issuecomment-948666864:
"I may create a PR in the future to add an option like this into the config of this module"
The force push was to change the commit summary/message to a more appropriate message
This PR adds support for the defaultFormat option to be configured in moment.js through the module options. Added appropriate tests which passed on my machine.
Fixes #73 and kept my word https://github.com/nuxt-community/moment-module/issues/73#issuecomment-948666864: