diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templatetags/projecttags.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templatetags/projecttags.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py index dc75f229bb..b170a16165 100644 --- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py +++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py | |||
@@ -271,14 +271,6 @@ def get_dict_value(dictionary, key): | |||
271 | return '' | 271 | return '' |
272 | 272 | ||
273 | @register.filter | 273 | @register.filter |
274 | def format_build_date(completed_on): | ||
275 | now = timezone.now() | ||
276 | delta = now - completed_on | ||
277 | |||
278 | if delta.days >= 1: | ||
279 | return True | ||
280 | |||
281 | @register.filter | ||
282 | def is_shaid(text): | 274 | def is_shaid(text): |
283 | """ return True if text length is 40 characters and all hex-digits | 275 | """ return True if text length is 40 characters and all hex-digits |
284 | """ | 276 | """ |