summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pastepy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pastepy.py b/pastepy.py
index 0608faa..8c715fa 100644
--- a/pastepy.py
+++ b/pastepy.py
@@ -105,8 +105,8 @@ class Paste(object):
'title': settings.pastebin_name,
'header': '%s – Preview' % settings.pastebin_name,
'hash': None,
- 'date': datetime.datetime.utcnow().ctime(),
'nick': mp['nick'].value.decode('utf-8') or 'Anoynmous',
+ 'date': '%s UTC' % datetime.datetime.utcnow().ctime(),
'syntax': lexername,
'pastetitle': mp['title'].value.decode('utf-8') or 'Untitled',
'text': text,
@@ -184,7 +184,7 @@ class Paste(object):
'title': '%s – View paste – %s' % (settings.pastebin_name, paste.title or 'Untitled'),
'header': '%s – View paste' % settings.pastebin_name,
'hash': hash,
- 'date': paste.date.ctime(),
+ 'date': '%s UTC' % paste.date.ctime(),
'nick': paste.nick or 'Anonymous',
'syntax': cache.syntax_name,
'pastetitle': paste.title or 'Untitled',