timex icon indicating copy to clipboard operation
timex copied to clipboard

A complete date/time library for Elixir projects.

Results 76 timex issues
Sort by recently updated
recently updated
newest added

### Steps to reproduce Updating some old code, I got bitten by this. In Timex 3.3.0, I could parse a timestamp in a known local time zone as follows: ```...

### Steps to reproduce `timex 3.7.8` ``` {:ok, dt, 0} = DateTime.from_iso8601("2022-07-30 17:06:27Z") {DateTime.utc_now(), Timex.from_now(dt)} # {~U[2022-08-01 08:20:03.093411Z], "yesterday"} {:ok, dt, 0} = DateTime.from_iso8601("2022-07-29 17:17:39Z") {DateTime.utc_now(), Timex.from_now(dt)} # {~U[2022-08-01 08:21:43.460553Z],...

### Summary of changes Elixir 1.15 will warn on missing parentheses for bitstring modifiers (https://github.com/elixir-lang/elixir/pull/11862). This PR adds the missing parentheses. ### Checklist - [ ] ~~New functions have typespecs,...

### Steps to reproduce - Add timex 3.7.8 and gettext 0.20.0 to project dependencies - run `mix deps.get && mix deps.compile` - gettext will show a warning ### Description of...

### Steps to reproduce ```elixir > format = "{YYYY}-{0M}-{0D} {h24}:{m}:{s}{ss} {Zname}" > Timex.parse!("2022-06-24 08:00:00.000000 America/New_York", format).microsecond {0, 0} ``` ### Description of issue Expected to get `{0, 6}`

### Summary of changes Added Croatian translation ### Checklist - [x] Commits were squashed into a single coherent commit - [x] Notes added to CHANGELOG file which describe changes at...

### Steps to reproduce - API function called - Timex.shift - Arguments provided - `Timex.shift(~D[2020-02-29], years: 1)` ### Description of issue - The same arguments on version 3.6.1 yields the...

I know this has been brought up in previous issues #555 and #625 but this doesn't seem to be resolved in the latest release 3.7.6 so I am creating a...

### Summary of changes - when you call `Timex.set/2` function from date which has less days than new month it should apply month or year changes before day changes so...

### Summary of changes We were really confused by the singular and plural version. I asked couple of my colleagues and they didn't know the different either. The truth has...