git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better readable length check
[enigma2.git]
/
lib
/
python
/
Tools
/
FuzzyDate.py
diff --git
a/lib/python/Tools/FuzzyDate.py
b/lib/python/Tools/FuzzyDate.py
index 121b85b84f92a1ecb2f5dad68aa8bb8ed47a9f6a..dac72cf0165f5fabfb2f81fb3537a35689de2354 100644
(file)
--- a/
lib/python/Tools/FuzzyDate.py
+++ b/
lib/python/Tools/FuzzyDate.py
@@
-7,7
+7,7
@@
def FuzzyTime(t):
if d[:3] == n[:3]:
# same day
- date =
"Today"
+ date =
_("Today")
elif ((t - nt) < 7*86400) and (nt < t):
# same week
date = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")[d[6]]