casbloem / vue-luxon

Easy use of datetime with Luxon in Vue
https://npmjs.com/package/vue-luxon
72 stars 8 forks source link

Get current time and add/subtract days #19

Open ChristoLuksatrio opened 3 years ago

ChristoLuksatrio commented 3 years ago

Is there a way to get the current time and add/subtract days through your package or would I have to import DateTime from luxon to do so? If your package can provide me the relative time, I thought there must be a way to get the current time or add/subtract time. I also assumed that putting in this.$luxon() would work but it didn't.

aonghas commented 3 years ago

I'm wondering this as well... this.$moment() used to give us current date.