browsertrix/frontend/src
Tessa Walsh 123705c53f
Serialize datetimes with Z suffix (#2058)
Use timezone aware datetimes instead of timezone naive datetimes:
- Update mongodb client to use tz-aware conversion
- Convert dt_now() to return timezone aware UTC date
- Rename to_k8s_date -> date_to_str, just returns ISO UTC date with 'Z'
(instead of '+00:00' suffix)
- Rename from_k8s_date -> str_to_date, returns timezone aware date from
str
- Standardize all string<->date conversion to use either date_to_str or
str_to_date
- Update frontend to assume iso date, not append 'Z' directly
- Update tests to check for 'Z' suffix on some dates

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-09-12 16:16:13 -07:00
..
__generated__ feat: Localization workflow improvements (#2069) 2024-09-10 14:15:26 -07:00
__mocks__ feat: Allow org admins to set default workflow configs (#2020) 2024-08-29 16:49:22 -07:00
assets feat: App bar enhancements (#1996) 2024-08-06 17:54:05 -07:00
classes chore: Refactor frontend shared state (#1997) 2024-08-12 17:57:31 -07:00
components Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
controllers feat: Breadcrumb navigation (#2053) 2024-08-30 09:08:24 -07:00
decorators chore: Refactor frontend shared state (#1997) 2024-08-12 17:57:31 -07:00
features Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
layouts fix: Archived item navigation improvements (#2062) 2024-09-10 14:26:29 -07:00
pages Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
strings/crawl-workflows feat: Allow org admins to set default workflow configs (#2020) 2024-08-29 16:49:22 -07:00
types fix: Watch tab crawl state consistency (#2060) 2024-09-10 14:47:29 -07:00
utils fix: Watch tab crawl state consistency (#2060) 2024-09-10 14:47:29 -07:00
index.ejs feat: Allow org admins to set default workflow configs (#2020) 2024-08-29 16:49:22 -07:00
index.test.ts chore: Refactor home component (#2000) 2024-08-15 17:16:14 -04:00
index.ts feat: Allow org admins to set default workflow configs (#2020) 2024-08-29 16:49:22 -07:00
manifest.webmanifest
replayWebPage.d.ts Auto-load seed url when replaying seeded crawls (#1786) 2024-05-07 14:03:14 -04:00
routes.ts fix: Archived item navigation improvements (#2062) 2024-09-10 14:26:29 -07:00
shoelace.ts feat: Breadcrumb navigation (#2053) 2024-08-30 09:08:24 -07:00
styles.css
theme.stylesheet.css feat: Add help shortcuts to app header & footer (#2040) 2024-08-23 18:11:29 -07:00
theme.ts