browsertrix/frontend
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
..
.husky chore: Format XLIFF files (#2074) 2024-09-11 10:46:39 -07:00
config/tailwind/plugins Add detailed permissions & permission summaries to user invite popup (#2003) 2024-08-20 20:34:29 -04:00
patches
scripts Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
src Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
tests fix: Hide login link on login page (#2039) 2024-08-21 15:33:24 -07:00
xliff Translated using Weblate (Spanish) 2024-09-11 20:06:49 +02:00
.dockerignore Optimizing Frontend Dockerfile (#60) 2021-12-05 18:39:45 -08:00
.editorconfig
.eslintrc.js
.gitignore
.prettierignore chore: Format XLIFF files (#2074) 2024-09-11 10:46:39 -07:00
.vscode
00-browsertrix-nginx-init.sh feat: support both ipv6 and ipv4 nginx resolver 2024-07-03 12:00:16 -07:00
Dockerfile Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
frontend.conf.template Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
index.d.ts
lit-localize.json feat: Localization workflow improvements (#2069) 2024-09-10 14:15:26 -07:00
minio.conf
package.json version: bump to 1.12.0-beta.0 2024-09-12 14:30:15 -07:00
playwright.config.ts
postcss.config.js Add detailed permissions & permission summaries to user invite popup (#2003) 2024-08-20 20:34:29 -04:00
prettier.config.js chore: Format XLIFF files (#2074) 2024-09-11 10:46:39 -07:00
README.md
sample.env.local
tailwind.config.js Small UI fixes (#1934) 2024-07-16 17:01:55 -04:00
tsconfig.eslint.json
tsconfig.json chore: Improve time to load org UI (#2044) 2024-08-26 10:45:10 -07:00
web-test-runner.config.mjs fix: Fix collection description (#2065) 2024-09-05 22:10:14 -07:00
webpack.config.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
webpack.dev.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
webpack.prod.js
yarn.lock chore: Format XLIFF files (#2074) 2024-09-11 10:46:39 -07:00