Closed martinburch closed 7 years ago
I can use moment.js like this:
<script src="moment.min.js"></script>
So why does this not work?
<script src="moment.min.js"></script> <script src="moment-duration-format.js"></script>
I can create a duration in moment and use .humanize() but when I try .format() I'm told it's not a function. The file moment-duration-format.js is loaded but it doesn't seem to do anything.
moment-duration-format.js
Oops I can see the typo now ...
I can use moment.js like this:
So why does this not work?
I can create a duration in moment and use .humanize() but when I try .format() I'm told it's not a function. The file
moment-duration-format.js
is loaded but it doesn't seem to do anything.