Skip to content

Commit 3410cef

Browse files
committed
Time is now AM/PM for logs
1 parent 50a0cf2 commit 3410cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SampleApp/src/app/features/features.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class FeaturesComponent implements OnInit {
153153
private pushEventToFeed(type: string, data?: any) {
154154
if (this.feedPaused) return;
155155
const now = new Date();
156-
const time = now.toLocaleTimeString([], { hour12: false });
156+
const time = now.toLocaleTimeString([], { hour12: true });
157157
// Always add to eventFeed, filtering happens in the getter
158158
this.eventFeed.unshift({ time, type, data });
159159
if (this.eventFeed.length > 200) this.eventFeed.pop();

0 commit comments

Comments
 (0)