From 1061ce1d4fc0a0bcc7d7a0ab3098730c3d93ac37 Mon Sep 17 00:00:00 2001
From: RiteshHMCTS <74713687+RiteshHMCTS@users.noreply.github.com>
Date: Wed, 6 Nov 2024 11:40:30 +0000
Subject: [PATCH] exui-2144-convert utc to local time (#1781)
* convert utc to local time
* version updated
---
RELEASE-NOTES.md | 5 ++++-
package.json | 2 +-
projects/ccd-case-ui-toolkit/package.json | 2 +-
.../components/palette/date/read-date-field.component.ts | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 5c10db0ed9..cb2bfd626e 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -1,4 +1,7 @@
-## RELEASE NOTES
+## RELEASE NOTES
+
+### Version 7.0.76
+**EXUI-2144** noc date issue
### Version 7.0.75
**EXUI-2415** Redirect to an new event by a hyperlink
diff --git a/package.json b/package.json
index 8bb3eeb326..982ed871d0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
- "version": "7.0.75",
+ "version": "7.0.76",
"engines": {
"node": ">=18.19.0"
},
diff --git a/projects/ccd-case-ui-toolkit/package.json b/projects/ccd-case-ui-toolkit/package.json
index e61648f592..2c80f95d02 100644
--- a/projects/ccd-case-ui-toolkit/package.json
+++ b/projects/ccd-case-ui-toolkit/package.json
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
- "version": "7.0.75",
+ "version": "7.0.76",
"engines": {
"node": ">=18.19.0"
},
diff --git a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/date/read-date-field.component.ts b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/date/read-date-field.component.ts
index 300ede63d3..289311a5ff 100644
--- a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/date/read-date-field.component.ts
+++ b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/date/read-date-field.component.ts
@@ -3,7 +3,7 @@ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.co
@Component({
selector: 'ccd-read-date-field',
- template: `{{caseField.value | ccdDate:'utc':caseField.dateTimeDisplayFormat}}`
+ template: `{{caseField.value | ccdDate:'local':caseField.dateTimeDisplayFormat}}`
})
export class ReadDateFieldComponent extends AbstractFieldReadComponent {
public timeZone = 'utc';