Change internal storage to number instead of Date
Summary: per title, for reasons see next diff :) Reviewed By: passy Differential Revision: D29327501 fbshipit-source-id: 548d943e90769af478232d3031d916fb399a067a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d02c560150
commit
aff02b2ca1
@@ -35,7 +35,9 @@ export function Crashes() {
|
||||
items={crashes.map((crash) => ({
|
||||
id: crash.notificationID,
|
||||
title: crash.reason ?? crash.name,
|
||||
description: `${crash.date.toLocaleString()} - ${crash.name}`,
|
||||
description: `${new Date(crash.date).toLocaleString()} - ${
|
||||
crash.name
|
||||
}`,
|
||||
}))}
|
||||
selection={selectedCrashId}
|
||||
onSelect={(id) => {
|
||||
|
||||
Reference in New Issue
Block a user