Skip to content

Commit

Permalink
exui-2144-convert utc to local time (#1781)
Browse files Browse the repository at this point in the history
* convert utc to local time

* version updated
  • Loading branch information
RiteshHMCTS authored Nov 6, 2024
1 parent df9a278 commit 1061ce1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.75",
"version": "7.0.76",
"engines": {
"node": ">=18.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.75",
"version": "7.0.76",
"engines": {
"node": ">=18.19.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.co

@Component({
selector: 'ccd-read-date-field',
template: `<span class="text-16">{{caseField.value | ccdDate:'utc':caseField.dateTimeDisplayFormat}}</span>`
template: `<span class="text-16">{{caseField.value | ccdDate:'local':caseField.dateTimeDisplayFormat}}</span>`
})
export class ReadDateFieldComponent extends AbstractFieldReadComponent {
public timeZone = 'utc';
Expand Down

0 comments on commit 1061ce1

Please sign in to comment.