1 $(document).ready(function(){
2 var weeknumber = moment("12-25-1995", "MM-DD-YYYY").week();
3 console.log(weeknumber);
4 });
5
1 console.log(state.weeknumber)
2 console.log(state.created_at.clone().add(7, "day").format("Do MMMM"))
3 console.log(state.weeknumber)
4 console.log(moment().day("monday").week(value).format("Do MMMM"))
5 console.log(moment().day("tuesday").week(value).format("Do MMMM"))
6 console.log(moment().day("wednesday").week(value).format("Do MMMM"))
7 console.log(moment().day("thursday").week(value).format("Do MMMM"))
8 console.log(moment().day("friday").week(value).format("Do MMMM"))
9 console.log(moment().day("saturday").week(value).format("Do MMMM"))
10 console.log(moment().day("sunday").week(value).add(7, "day").format("Do MMMM"))