Converts a struct tm into an Time.
Free the returned object with unref, when no longer needed.
| tm |
A struct tm. |
| is_date |
Whether the given time is a date only or not. |
|
The converted time as an Time. |