Fixed date sync bug