Hello, hunglun o <hunglu...@googlemail.com> writes:
> This test sets 2014-03-04 to be current-time and then computes the > number of days between current-time and 2012-03-29. 705 days should be > expected. However, 705d 1h is given in the test case. This is a bit more complicated. The "1h" comes from daylight saving time, which your time zone probably ignores. So applying your fix solve your issue and break it elsewhere. I add an optional ZONE argument to `org-parse-time-string' to solve this. Unfortunately, ZONE is not supported by `decode-time' in Emacs 24. So, at the moment, `org-parse-time-string' is slightly broken on older Emacsen. Regards, -- Nicolas Goaziou