Fix support for hour ranges.
This commit is contained in:
parent
1d3b4c187b
commit
6476e2a511
4 changed files with 90 additions and 58 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue