Show More
@@ -40,7 +40,7 b' def age(t):' | |||||
40 |
|
40 | |||
41 | for t, s in scales: |
|
41 | for t, s in scales: | |
42 | n = delta / s |
|
42 | n = delta / s | |
43 | if n >= 1: return fmt(t, n) |
|
43 | if n >= 2 or s == 1: return fmt(t, n) | |
44 |
|
44 | |||
45 | def nl2br(text): |
|
45 | def nl2br(text): | |
46 | return text.replace('\n', '<br/>') |
|
46 | return text.replace('\n', '<br/>') |
General Comments 0
You need to be logged in to leave comments.
Login now