Added time_t support
Merge https://github.com/ha11owed/galib