Skip to content

Commit

Permalink
Fixed the Date conversion for the Baker HTTP dashboard. (#1686)
Browse files Browse the repository at this point in the history
* Fixed the Date conversion for the Baker HTTP dashboard.
---------

Co-authored-by: xk00lj <[email protected]>
Co-authored-by: Bekir Oguz <[email protected]>
  • Loading branch information
3 people authored Oct 1, 2024
1 parent 992a8e9 commit f1b8913
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion http/baker-http-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ This project has been tested to work on v18.2.0 (npm v8.9.0).


## Prerequisites:
- Install nvm (node version manager): `brew install nvm`
- Install nvm (node version manager): `brew install nvm`
- Add it do console: `source $(brew --prefix nvm)/nvm.sh)`
- Install node `nvm install node`
- Install project `npm install`
- Link angular cli `npm link @angular/cli` (to solve `zsh: command not found: ng`)
Expand Down
2 changes: 2 additions & 0 deletions http/baker-http-dashboard/src/app/baker-conversion.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export class BakerConversionService {
return this.recordValue(typeOptions as TypeRecordTypeInner, value, valuePath);
case "MapType":
return this.mapValue(typeOptions as TypeMapTypeInner, value, valuePath);
case "Date":
return BakerConversionService.primitiveValue("java.lang.Long", value);
default:
return "Unknown";
}
Expand Down

0 comments on commit f1b8913

Please sign in to comment.