diff --git a/apps/tickets/handler/apply_application.py b/apps/tickets/handler/apply_application.py index 988f70855..61ef64258 100644 --- a/apps/tickets/handler/apply_application.py +++ b/apps/tickets/handler/apply_application.py @@ -53,8 +53,8 @@ class Handler(BaseHandler): _('Applied type'), apply_type_display, _('Applied application group'), ','.join(apply_applications), _('Applied system user group'), ','.join(apply_system_users), - _('Applied date start'), apply_date_start.strftime('%Y-%m-%d %H:%M:%S'), - _('Applied date expired'), apply_date_expired.strftime('%Y-%m-%d %H:%M:%S'), + _('Applied date start'), apply_date_start, + _('Applied date expired'), apply_date_expired, ) return applied_body diff --git a/apps/tickets/handler/apply_asset.py b/apps/tickets/handler/apply_asset.py index 3f35998c1..584f3a12b 100644 --- a/apps/tickets/handler/apply_asset.py +++ b/apps/tickets/handler/apply_asset.py @@ -47,8 +47,8 @@ class Handler(BaseHandler): _("Applied hostname group"), ','.join(apply_assets), _("Applied system user group"), ','.join(apply_system_users), _("Applied actions"), ','.join(apply_actions_display), - _('Applied date start'), apply_date_start.strftime('%Y-%m-%d %H:%M:%S'), - _('Applied date expired'), apply_date_expired.strftime('%Y-%m-%d %H:%M:%S'), + _('Applied date start'), apply_date_start, + _('Applied date expired'), apply_date_expired, ) return applied_body