Closed crotwell closed 6 years ago
Adds support for moment.utc so that you can do things like:
{{utc interval=1000}} {{utc (moment now)}} {{!-- Mon Feb 12 2018 21:30:20 GMT+0000 --}} {{moment-format (utc) 'YYYY-MM-DD HH:mm:ss Z'}} {{!-- 2018-02-12 21:30:20 +00:00 --}} {{utc '2018-01-01T00:00:00+01:00' 'YYYY-MM-DD HH:mm:ssZ'}} {{!-- Sun Dec 31 2017 23:00:00 GMT+0000 --}}
Also included a utc computed property macro, which I think takes care of Issue #270 .
Thank you! It will be part of the next release :)
Adds support for moment.utc so that you can do things like:
Also included a utc computed property macro, which I think takes care of Issue #270 .