bitwalker / bitwalker/timex

Lost microseconds precision when parsing `00.000000`

Open
#716 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
1.8k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

### 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}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.