Merge pull request #503 from greenart7c3/claude/nostr-permission-date-bug-yl4xk4

Fix timestamp conversion in event detail modals
This commit is contained in:
greenart7c3
2026-07-15 13:31:20 -03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -97,7 +97,7 @@ fun EncryptDecryptDetailModal(
)
EventSection(
stringResource(R.string.date),
TimeUtils.formatLongToCustomDateTimeWithSeconds(event.createdAt),
TimeUtils.formatLongToCustomDateTimeWithSeconds(event.createdAt * 1000),
{ copyToClipboard(clipboard, "${event.createdAt}") },
)
if (event.content.isNotEmpty()) {
@@ -110,7 +110,7 @@ fun EventDetailModal(
)
EventSection(
stringResource(R.string.date),
TimeUtils.formatLongToCustomDateTimeWithSeconds(event.createdAt),
TimeUtils.formatLongToCustomDateTimeWithSeconds(event.createdAt * 1000),
{
copyToClipboard(clipboard, "${event.createdAt}")
},