Show More
@@ -245,9 +245,10 b' def person(author):' | |||||
245 | if not '@' in author: |
|
245 | if not '@' in author: | |
246 | return author |
|
246 | return author | |
247 | f = author.find('<') |
|
247 | f = author.find('<') | |
248 |
if f |
|
248 | if f != -1: | |
249 |
return |
|
249 | return author[:f].rstrip() | |
250 | return author[:f].rstrip() |
|
250 | f = author.find('@') | |
|
251 | return author[:f].replace('.', ' ') | |||
251 |
|
252 | |||
252 | def rfc3339date(text): |
|
253 | def rfc3339date(text): | |
253 | """:rfc3339date: Date. Returns a date using the Internet date format |
|
254 | """:rfc3339date: Date. Returns a date using the Internet date format |
General Comments 0
You need to be logged in to leave comments.
Login now