I would like for the previous Monday to appear in the field where a user enters today\'s date.
E.g.: If today\'s date is entered 29-Jan-16 t
29-Jan-16
Using moment.js:
moment().day("Monday").format('YYYY-MM-DD');