Mercurial > hg > Blog
changeset 29:7380bf280fc9
switch to duckdns.org
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 21 Apr 2014 03:09:52 +0200 |
parents | aab5b33a6c45 |
children | af7de87037e7 |
files | content/Python/timedelta.md pelicanconf.py publishconf.py themes/tuxlite_tbs/templates/simple_comments.html |
diffstat | 4 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/content/Python/timedelta.md Tue Apr 15 04:43:29 2014 +0200 +++ b/content/Python/timedelta.md Mon Apr 21 03:09:52 2014 +0200 @@ -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.anydns.info/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/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. -The source is [publicly available from its mercurial repository](http://xanthippe.anydns.info/hg/timedelta/shortlog/tip). +The source is [publicly available from its mercurial repository](http://xanthippe.duckdns.org/hg/timedelta/shortlog/tip).
--- a/pelicanconf.py Tue Apr 15 04:43:29 2014 +0200 +++ b/pelicanconf.py Mon Apr 21 03:09:52 2014 +0200 @@ -4,7 +4,7 @@ AUTHOR = u'Dirk Olmes' SITENAME = u'Infoschnipsel und Wissenswertes' -SITEURL = 'http://xanthippe.anydns.info/blog' +SITEURL = 'http://xanthippe.duckdns.org/blog' LOCALE = 'de_DE' TIMEZONE = 'Europe/Berlin'
--- a/publishconf.py Tue Apr 15 04:43:29 2014 +0200 +++ b/publishconf.py Mon Apr 21 03:09:52 2014 +0200 @@ -10,7 +10,7 @@ sys.path.append(os.curdir) from pelicanconf import * -SITEURL = 'http://xanthippe.anydns.info/blog' +SITEURL = 'http://xanthippe.duckdns.org/blog' RELATIVE_URLS = False FEED_ALL_ATOM = 'feeds/all.atom.xml'
--- a/themes/tuxlite_tbs/templates/simple_comments.html Tue Apr 15 04:43:29 2014 +0200 +++ b/themes/tuxlite_tbs/templates/simple_comments.html Mon Apr 21 03:09:52 2014 +0200 @@ -18,7 +18,7 @@ <div style="font-size: 120%;"> Leave a comment </div> - <form action="http://xanthippe.anydns.info/blog-comments/simple_comments.php" method="POST"> + <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> <input type="hidden" name="Slug" value="{{ article.slug }}"> <table style="padding: 10px 0px 0px 0px;"> <tr>