Solved bug for Long and Date