ndmhung6 commited on
Commit
93ce0f0
·
1 Parent(s): b2ff24d

fix: handle created_at as string in admin users template

Browse files
templates/tools/admin_users/index.html CHANGED
@@ -103,7 +103,7 @@
103
  {% endif %}
104
  </td>
105
  <td class="text-muted small">
106
- {{ user.created_at.strftime('%d/%m/%Y %H:%M') if user.created_at else 'N/A' }}
107
  </td>
108
  <td>
109
  <div class="table-actions">
 
103
  {% endif %}
104
  </td>
105
  <td class="text-muted small">
106
+ {{ user.created_at[:16]|replace('T', ' ') if user.created_at else 'N/A' }}
107
  </td>
108
  <td>
109
  <div class="table-actions">