You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like most people will want some additional way to manipulate the information retrieved from parsedatetime. It would be nice to have a simple example of how they can do that.
For instance:
In [11]: from time import mktime
In [12]: from datetime import datetime
In [14]: datetime.fromtimestamp(mktime(parsedatetime.Calendar().parse('4:30')[0]))
Out[14]: datetime.datetime(2015, 8, 4, 4, 30)
Let me know if you think this is valuable and I can whip something up for the readme in a more concise / readable format.
The text was updated successfully, but these errors were encountered:
It seems like most people will want some additional way to manipulate the information retrieved from
parsedatetime
. It would be nice to have a simple example of how they can do that.For instance:
Let me know if you think this is valuable and I can whip something up for the readme in a more concise / readable format.
The text was updated successfully, but these errors were encountered: