Fix support for hour ranges.

This commit is contained in:
Sergio Martínez Portela 2021-01-17 12:40:15 +01:00
parent 1d3b4c187b
commit 6476e2a511
4 changed files with 90 additions and 58 deletions

View file

@ -7,7 +7,7 @@ from org_rw import (Bold, Code, Italic, Line, Strike, Text, Underlined,
def timestamp_to_datetime(ts):
return datetime(ts.year, ts.month, ts.day, ts.hour, ts.minute)
return ts.time.to_datetime()
def get_raw(doc):