datetime: adjust the calculation method of dst

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/d1c364af66c647b184b35f72d3d87e46/
Change-Id: I8cba40ab978a900a0136f0bb46df56d4de49c42e