Thanks for reporting the problem. As Eli suggested, it was a typo in org.el that was exposed by recent changes to encode-time. I installed into master the attached patch, which I think fixes the bug.