Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieuprog/tz_timex
Timex API using Tz
https://github.com/mathieuprog/tz_timex
Last synced: about 2 months ago
JSON representation
Timex API using Tz
- Host: GitHub
- URL: https://github.com/mathieuprog/tz_timex
- Owner: mathieuprog
- License: apache-2.0
- Created: 2024-09-10T06:21:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T15:41:41.000Z (4 months ago)
- Last Synced: 2024-09-16T01:52:01.194Z (4 months ago)
- Language: Elixir
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TzTimex
if using :local ->
Application.get_env(:tz_timex, :local_time_zone)POSIX time zone identifiers not supported: `CET-1CEST,M3.5.0/2,M10.5.0/3`, `CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00`, ...
No use of TimezoneInfo
The following non-IANA time zones are supported by Timex but not TzTimex:
- POSIX strings (e.g. CET-1CEST,M3.5.0/2,M10.5.0/3, CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00, ...);
- One-letter time zone names A, M, N and Y
- An integer representing an offset
- A string representing an offset such as "+02:00", "UTC+1", "GMT-2", "Etc/UTC+1", etc.Formatting dates in locale languages is not supported.
You may use CLDR https://github.com/elixir-cldr/cldr_dates_times