Fix #50

Fix #50

Fix milliseconds getting dropped when using unix timestamp or Date obj as time input