Skip to content

Commit

Permalink
Grammer and iso usage
Browse files Browse the repository at this point in the history
Signed-off-by: sitbubu <royi.sitbon@logz.io>
  • Loading branch information
RoyiSitbon committed Feb 13, 2022
1 parent a687884 commit c28c292
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/public/saved_objects/saved_objects_client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { SimpleSavedObject } from './simple_saved_object';
import { httpServiceMock } from '../http/http_service.mock';

describe('SavedObjectsClient', () => {
const updatedAt = new Date().toString();
const updatedAt = new Date().toISOString();
const doc = {
id: 'AVwSwFxtcMV38qjDZoQg',
type: 'config',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ export class DashboardListing extends React.Component {
{
field: `updated_at`,
name: i18n.translate('dashboard.listing.table.columnUpdatedAtName', {
defaultMessage: 'Updated at',
defaultMessage: 'Last updated',
}),
dataType: 'date',
sortable: true,
description: i18n.translate('dashboard.listing.table.columnUpdatedAtDescription', {
defaultMessage: 'Updated at of the saved object',
defaultMessage: 'Last update of the saved object',
}),
['data-test-subj']: 'updated-at',
render: (updatedAt) => updatedAt && moment(updatedAt).format('MMM DD YYYY'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,13 @@ export class Table extends PureComponent<TableProps, TableState> {
{
field: `updated_at`,
name: i18n.translate('savedObjectsManagement.objectsTable.table.columnUpdatedAtName', {
defaultMessage: 'Updated at',
defaultMessage: 'Last updated',
}),
dataType: 'date',
sortable: true,
description: i18n.translate(
'savedObjectsManagement.objectsTable.table.columnUpdatedAtDescription',
{ defaultMessage: 'Updated at of the saved object' }
{ defaultMessage: 'Last update of the saved object' }
),
'data-test-subj': 'updated-at',
render: (updatedAt: string) => updatedAt && moment(updatedAt).format('MMM DD YYYY'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ export const getTableColumns = (application: ApplicationStart, history: History)
{
field: `updated_at`,
name: i18n.translate('visualize.listing.table.columnUpdatedAtName', {
defaultMessage: 'Updated at',
defaultMessage: 'Last updated',
}),
dataType: 'date',
sortable: true,
description: i18n.translate('visualize.listing.table.columnUpdatedAtDescription', {
defaultMessage: 'Updated at of the saved object',
defaultMessage: 'Last update of the saved object',
}),
['data-test-subj']: 'updated-at',
render: (updatedAt: string) => updatedAt && moment(updatedAt).format('MMM DD YYYY'),
Expand Down

0 comments on commit c28c292

Please sign in to comment.