[Enhancement] Add history table to homepage (And TZ support) (#229)

* Added basic history table to homepage

* Improved homepage history query

* Set table to use 24h time

* Added timezone support

* Updated README to reflect new TZ stuff
This commit is contained in:
Kieran
2024-05-07 12:16:57 -07:00
committed by GitHub
parent 1b7fb6d14b
commit a1a568b7f7
10 changed files with 165 additions and 7 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ if config_env() == :prod do
extras_directory: extras_path,
tmpfile_directory: Path.join([System.tmp_dir!(), "pinchflat", "data"]),
dns_cluster_query: System.get_env("DNS_CLUSTER_QUERY"),
expose_feed_endpoints: expose_feed_endpoints
expose_feed_endpoints: expose_feed_endpoints,
timezone: System.get_env("TIMEZONE") || System.get_env("TZ") || "UTC"
config :pinchflat, Pinchflat.Repo,
database: db_path,