fixed fitbit date comparision