Fixed system time issue for created_at and updated_at