I'm looking for a way to format dates nicely. It looks like moment.js will give me what I want, but I can't work out how to use it from QML or a Javascript file (this is for Ubuntu Touch).
I've downloaded the with-langs file from the website (and renamed it to 'moment.js'), and then tried "import 'moment.js' as moment" and "Qt.include('moment.js')", but still can't seem to use it.
Any ideas on how to make this work?