assigning python variable to javascript variable datetime