@applica-software-guru/react-admin 1.5.252 → 1.5.254

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -115,5 +115,5 @@
115
115
  "type": "module",
116
116
  "types": "dist/index.d.ts",
117
117
  "typings": "dist/index.d.ts",
118
- "version": "1.5.252"
118
+ "version": "1.5.254"
119
119
  }
@@ -75,7 +75,7 @@ function HeaderNotificationButton() {
75
75
  resource,
76
76
  {
77
77
  ids: unreadNotificationIds,
78
- data: { readed: dayjs().format('YYYY-MM-DD HH:mm:ss') }
78
+ data: { readed: dayjs().toISOString() }
79
79
  },
80
80
  {
81
81
  onSuccess: () => {
@@ -32,7 +32,7 @@ function HeaderNotificationItem(props: IHeaderNotificationItemProps) {
32
32
  id: notification?.id,
33
33
  data: {
34
34
  ...notification,
35
- readed: dayjs().format('YYYY-MM-DD HH:mm:ss')
35
+ readed: dayjs().toISOString()
36
36
  }
37
37
  },
38
38
  {
@@ -24,7 +24,7 @@ function MarkAsReadedButton(): JSX.Element {
24
24
  resource,
25
25
  {
26
26
  ids: selectedIds.length > 0 ? selectedIds : [record?.id],
27
- data: { readed: dayjs().format('YYYY-MM-DD HH:mm:ss') },
27
+ data: { readed: dayjs().toISOString() },
28
28
  // @ts-ignore
29
29
  rows
30
30
  },
package/src/index.ts CHANGED
@@ -45,6 +45,7 @@ export {
45
45
  TabbedFormTabs,
46
46
  TopToolbar,
47
47
  UrlField,
48
+ ValidationError,
48
49
  choices,
49
50
  email,
50
51
  maxLength,