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.

I've downloaded the with-langs file from their website, 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?

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to