The video for this lesson is currently being updated, please read the transcript instead.

Displaying date in current-month component

So looking at this month selector here, it's essentially this sort of two main parts to it.

We display the current month and year and then we also have these increment and decrement buttons.

Let's going to our code, here's the current month template.

First thing we'll do is what it do inside the template and then I want to have, I am

gonna create computed property in a moment called formattedDate, so we'll put that now

mustache syntax and then let's go and create

To view the complete lesson you'll need to login or join this course.


Click to load comments...