"From time" cannot be later than "To time" and hours cannot be negative

Assuming hours cannot be negative in a time log:
In time log if hours are set negative then from_time is set later datetime than to_time.
If from_time is set later than to_time, hours become negative.
"\" is not required in message, can you please update and send the PR again?
You can simply write it as:
`frappe.throw(_("'From Time' cannot be later than 'To Time'"))`