update time spinner JS to local