File tree Expand file tree Collapse file tree
app/components/UI/Bridge/components/TransactionDetails Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,12 +164,9 @@ export const BridgeTransactionDetails = (
164164
165165 const submissionDate = startTime ? new Date ( startTime ) : null ;
166166 const submissionDateString = submissionDate
167- ? submissionDate . toLocaleString ( 'en-US' , {
168- year : 'numeric' ,
169- month : 'short' ,
170- day : 'numeric' ,
171- hour : '2-digit' ,
172- minute : '2-digit' ,
167+ ? submissionDate . toLocaleString ( undefined , {
168+ dateStyle : 'medium' ,
169+ timeStyle : 'short' ,
173170 } )
174171 : 'N/A' ;
175172
@@ -180,9 +177,9 @@ export const BridgeTransactionDetails = (
180177 )
181178 : null ;
182179 const estimatedCompletionString = estimatedCompletionDate
183- ? estimatedCompletionDate . toLocaleString ( 'en-US' , {
184- hour : '2-digit ' ,
185- minute : '2-digit ' ,
180+ ? estimatedCompletionDate . toLocaleString ( undefined , {
181+ dateStyle : 'medium ' ,
182+ timeStyle : 'short ' ,
186183 } )
187184 : null ;
188185
You can’t perform that action at this time.
0 commit comments