frigate/web/src
Josh Hawkins b6e0e5698a
Proper i18n date/time handling (#17858)
* install date-fns-tz

* add date locale hook

* refactor formatUnixTimestampToDateTime

Use date-fns style instead of using strftime. This requires changing the i18n keys to the way date-fns represents dates (eg: "MMM d, h:mm:ss aaa"  instead of "%b %-d, %H:%M"

* refactor calendar to use new hook

* fix useFormattedTimestamp to use new formatUnixTimestampToDateTime date_format

* change i18n keys to new format

* fix timeline

* fix review

* fix explore

* fix metrics

* fix notifications

* fix face library

* clean up
2025-04-22 15:50:21 -06:00
..
api Disabled cameras fixing (#17273) 2025-03-20 11:20:44 -05:00
components Proper i18n date/time handling (#17858) 2025-04-22 15:50:21 -06:00
context feat: add i18n (translation/localization) (#16877) 2025-03-16 10:36:20 -05:00
hooks Proper i18n date/time handling (#17858) 2025-04-22 15:50:21 -06:00
lib Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
pages Proper i18n date/time handling (#17858) 2025-04-22 15:50:21 -06:00
types Add support for NPU statistics in metrics page (#17806) 2025-04-19 08:20:22 -06:00
utils Proper i18n date/time handling (#17858) 2025-04-22 15:50:21 -06:00
views Proper i18n date/time handling (#17858) 2025-04-22 15:50:21 -06:00
App.tsx UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
env.ts Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
index.css Improve live streaming (#16447) 2025-02-10 09:42:35 -07:00
login.tsx Fix auth when serving Frigate at a subpath (#12815) 2024-08-09 07:26:26 -06:00
main.tsx feat: add i18n (translation/localization) (#16877) 2025-03-16 10:36:20 -05:00
vite-env.d.ts switch to vite 2022-03-11 07:49:06 -06:00