Commit 7a4fafe
committed
Use Number.isFinite for profile.created_at gate (preserve created_at=0)
Address Copilot review on #39: the truthiness gate dropped a valid created_at
of 0, while the modified computation uses Number.isFinite. Make them consistent.1 parent 05952af commit 7a4fafe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments