vue-luxon
vue-luxon copied to clipboard
How to use this in the vue templates
I want to use this wrapper but how can I use the luxon docs formatting in vue templates? like this one: (https://github.com/moment/luxon/blob/master/docs/formatting.md)
DateTime.fromISO('2014-08-06T13:07:04.054').toFormat('yyyy LLL dd'); //=> '2014 Aug 06'
what would be the equivalent of this?
I want to get the day name based on day number (1-7)
tried something like this but doesnt work
{{ day_num | luxon('dddd') }} // day_num is 1