org-element: Change to timestamp interpreter
commitfc95ee2768549dfd1f8fd3d6e3a77161cefc1f56
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 16 Nov 2013 09:15:28 +0000 (16 10:15 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 16 Nov 2013 09:18:19 +0000 (16 10:18 +0100)
treeb92083af0400ff0b7d2c1bba00bdd55fc428210a
parent926bc85861b86fde88129b535caf144c483e08af
org-element: Change to timestamp interpreter

* lisp/org-element.el (org-element-timestamp-interpreter):
  Ignore :raw-value and build timestamp from numeric properties
  instead.
* testing/lisp/test-org-element.el: Update tests.
* testing/lisp/test-ox.el: Update tests.

This change allow to modify and update a timestamp easily without
requiring to reset :raw-value first, which was not intuitive.
lisp/org-element.el
testing/lisp/test-org-element.el
testing/lisp/test-ox.el