Fix module undefined on browser
FIX Was prepadding based on the give date and the note first of the month
FIX is today was not properly remove time data from the date