v0.1.7: аудит — время Москвы вместо UTC
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ipwhitelist",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"description": "IP WhiteList microservice for cloud provider",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
module.exports = {
|
||||
version: '0.1.6',
|
||||
version: '0.1.7',
|
||||
|
||||
// ── IAM ──────────────────────────────────────────────────────────────────
|
||||
iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user',
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<tbody>
|
||||
<% audit.forEach(function(a) { %>
|
||||
<tr>
|
||||
<td><%= new Date(a.created_at).toLocaleString('ru') %></td>
|
||||
<td><%= new Date(a.created_at).toLocaleString('ru-RU', { timeZone: 'Europe/Moscow' }) %></td>
|
||||
<td><strong><%= a.action %></strong></td>
|
||||
<td><%= a.user_email %></td>
|
||||
<td><%= a.impersonated_by || '—' %></td>
|
||||
|
||||
Reference in New Issue
Block a user