summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templatetags/projecttags.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templatetags/projecttags.py')
-rw-r--r--bitbake/lib/toaster/toastergui/templatetags/projecttags.py8
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
274def 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
282def is_shaid(text): 274def 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 """