mirror of https://gitlab.com/tildes/tildes.git
Browse Source
The ago library doesn't handle datetimes correctly if they have any timezone except the system's localtime. This can be worked around by calculating a timedelta and passing that instead of a datetime. This commit updates the descriptive_timedelta() function to do that. I've also registered an issue on the library, but I don't know if it's maintained any more: https://bitbucket.org/russellballestrini/ago/issues/3merge-requests/40/head
Deimos
6 years ago
1 changed files with 7 additions and 3 deletions
Loading…
Reference in new issue