Merge pull request #503 from greenart7c3/claude/nostr-permission-date-bug-yl4xk4
Fix timestamp conversion in event detail modals
This commit is contained in:
+1
-1
@@ -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}")
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user