Work with Date object has benn changed.