Commit 3b9788f
authored
[activity-feed] Fix date formatting literal for Safari simplify date return (#4783)
## Description
This pull request simplifies the date formatting logic in the
`ActivityFeedStepComponent` by removing custom string manipulation and
returning the formatted date directly.
- Simplified date formatting in `ActivityFeedStepComponent` by returning
the result of `#intlDateTimeFormat.format(date)` directly, instead of
splitting and reconstructing the formatted string.
-----
-----1 parent 5a50158 commit 3b9788f
3 files changed
Lines changed: 1 addition & 12 deletions
File tree
- packages/ng/activity-feed
- activity-feed-step
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
20 | | - | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
24 | | - | |
25 | 19 | | |
26 | 20 | | |
27 | 21 | | |
28 | | - | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
32 | | - | |
33 | 25 | | |
34 | 26 | | |
0 commit comments