Change date to timestamp
fix #7