v0.1.7: аудит — время Москвы вместо UTC

This commit is contained in:
2026-06-22 23:39:19 +04:00
parent 74e69fa4be
commit f898aabe7d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -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',
+1 -1
View File
@@ -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>