change recipe timetamp to no datepipe
This commit is contained in:
parent
03b65399df
commit
ae9f487b39
3 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export type RecipeOverview = {
|
||||||
|
|
||||||
export type RecipesDashboard = {
|
export type RecipesDashboard = {
|
||||||
configNumber: number;
|
configNumber: number;
|
||||||
LastUpdated: Date;
|
lastUpdated: String;
|
||||||
filename: string;
|
filename: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@
|
||||||
<span class=""
|
<span class=""
|
||||||
>Last Updated:
|
>Last Updated:
|
||||||
{{
|
{{
|
||||||
recipesDashboard.configNumber | date : "dd-MMM-yyyy hh:mm:ss"
|
recipesDashboard.lastUpdated
|
||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,7 @@ export class RecipesComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
this.recipesDashboard$.subscribe((data) => {
|
this.recipesDashboard$.subscribe((data) => {
|
||||||
this.currentVersion = data.configNumber;
|
this.currentVersion = data.configNumber;
|
||||||
console.log('current version', this.currentVersion);
|
console.log('current version', this.currentVersion);
|
||||||
|
console.log("data : ", data);
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('ngAfterViewInit::department', this.department);
|
console.log('ngAfterViewInit::department', this.department);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue