better readable length check
[enigma2.git] / lib / python / Tools / FuzzyDate.py
index 121b85b84f92a1ecb2f5dad68aa8bb8ed47a9f6a..dac72cf0165f5fabfb2f81fb3537a35689de2354 100644 (file)
@@ -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]]