Closed cjlaborde closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is a Feature Request. I don't think I'll be implementing this, but I will if you can provide a PR. What do you think?
I already resolved it weeks ago with
getNights() {
return moment(this.end_date).diff(moment(this.start_date), 'days');
},
There is a PR?
I would like to extract nights to perform calculations. price * Number of Nights = Total Cost.
Displaying nights is Great but would be better if we could extract it to perform preview of the total cost.
Or is this already possible?