Mercurial > hg > Blog
changeset 54:6c1752a66dd0
change the hg url
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 03 Jan 2015 04:49:48 +0100 |
parents | 0160569a17c4 |
children | 3f6c9b512b85 |
files | content/Python/timedelta.md |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/content/Python/timedelta.md Tue Dec 23 09:01:11 2014 +0100 +++ b/content/Python/timedelta.md Sat Jan 03 04:49:48 2015 +0100 @@ -4,6 +4,6 @@ Python comes with a rich libray of classes for dealing with date and time. I was working with datetime.time objects the other day and needed to calculate the difference between to time instances. To my great surprise this isn't easily doable as Python's standard lib only has `timedelta` objects which cannot deal with pure time objects. -So I had to write my own [timedelta](http://xanthippe.duckdns.org/cgi-bin/hgwebdir.cgi/timedelta/shortlog/tip) function which takes two time instances and calculates the difference. The diff will be returned as a time instance. +So I had to write my own [timedelta](http://xanthippe.duckdns.org/hg/timedelta/) function which takes two time instances and calculates the difference. The diff will be returned as a time instance. -The source is [publicly available from its mercurial repository](http://xanthippe.duckdns.org/hg/timedelta/shortlog/tip). +The source is [publicly available from its mercurial repository](http://xanthippe.duckdns.org/hg/timedelta/).