+3
-4
@@ -80,10 +80,9 @@ describe('AzureFunctionsOverviewWidget', () => {
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
await rendered.findByText(
|
||||
functionResponseMock.lastModifiedDate.toLocaleString(
|
||||
window.navigator.language,
|
||||
DateTime.DATETIME_FULL,
|
||||
),
|
||||
DateTime.fromISO(
|
||||
functionResponseMock.lastModifiedDate.toString(),
|
||||
).toLocaleString(DateTime.DATETIME_MED),
|
||||
),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -76,7 +76,9 @@ const DEFAULT_COLUMNS: TableColumn<FunctionsData>[] = [
|
||||
{
|
||||
title: 'last modified',
|
||||
render: (func: FunctionsData) =>
|
||||
func.lastModifiedDate.toLocaleString(lang, DateTime.DATETIME_FULL),
|
||||
DateTime.fromISO(func.lastModifiedDate.toString()).toLocaleString(
|
||||
DateTime.DATETIME_MED,
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'logs',
|
||||
|
||||
Reference in New Issue
Block a user