@kenyaemr/esm-facility-dashboard-app 5.4.2-pre.2294 → 5.4.2-pre.2297
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/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemrCharts":"^1.6.7"},"extensions":[{"component":"surveillanceDashboardLink","name":"surveillance-dashboard-link","slot":"facility-dashboard-left-panel-slot"},{"component":"aboveSiteDashboardLink","name":"above-site-dashboard-link","slot":"facility-dashboard-left-panel-slot"}],"workspaces":[],"modals":[],"pages":[{"component":"root","route":"facility-dashboard"}],"version":"5.4.2-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemrCharts":"^1.6.7"},"extensions":[{"component":"surveillanceDashboardLink","name":"surveillance-dashboard-link","slot":"facility-dashboard-left-panel-slot"},{"component":"aboveSiteDashboardLink","name":"above-site-dashboard-link","slot":"facility-dashboard-left-panel-slot"}],"workspaces":[],"modals":[],"pages":[{"component":"root","route":"facility-dashboard"}],"version":"5.4.2-pre.2297"}
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const sevenDaysAgo = () => {
|
|
|
14
14
|
|
|
15
15
|
export const DATE_PICKER_CONTROL_FORMAT = 'd/m/Y';
|
|
16
16
|
|
|
17
|
-
export const DATE_PICKER_FORMAT = 'DD
|
|
17
|
+
export const DATE_PICKER_FORMAT = 'YYYY-MM-DD';
|
|
18
18
|
|
|
19
19
|
export const formatNewDate = (date: Date | null | undefined) => {
|
|
20
20
|
return date ? new Date(date) : '';
|