Commit 2a45c24
feat: indicate timezone in
* feat: add timezone indicator to nodes list START/END column header
- Add timezone detection using dayjs timezone plugin
- Display user's local timezone abbreviation (e.g., PST, EST) in START/END column
- Use yellow color for timezone indicator to distinguish from other column headers
- Apply to both table view and verbose VM History view
- Show UTC when in UTC timezone, local timezone otherwise
Co-authored-by: Daniel Tao <danieltaox@gmail.com>
* chore: remove package-lock.json (using bun)
Co-authored-by: Daniel Tao <danieltaox@gmail.com>
* refactor: move getTimezoneAbbreviation function to utils and update return value
- Moved the getTimezoneAbbreviation function from list.tsx to utils.ts for better modularity.
- Updated the function to return null instead of "UTC" when unable to determine the timezone.
- Adjusted the display logic in the VM table to conditionally render the timezone abbreviation.
* style(web): run biome
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>sf nodes ls times (#243)1 parent fb18921 commit 2a45c24
2 files changed
Lines changed: 53 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
150 | 160 | | |
151 | 161 | | |
152 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
12 | 50 | | |
13 | 51 | | |
14 | 52 | | |
| |||
103 | 141 | | |
104 | 142 | | |
105 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
106 | 147 | | |
107 | 148 | | |
108 | 149 | | |
| |||
111 | 152 | | |
112 | 153 | | |
113 | 154 | | |
114 | | - | |
| 155 | + | |
| 156 | + | |
115 | 157 | | |
116 | 158 | | |
117 | 159 | | |
| |||
0 commit comments