massivefermion / birl

datetime handling for gleam
https://hex.pm/packages/birl
Apache License 2.0
72 stars 9 forks source link

Fix getter labels for Date type #8

Closed raffomania closed 1 year ago

raffomania commented 1 year ago

The labels for year and day were swapped, causing the respective getters to return the wrong values. I've added a test that detects the bug, and fixed it.

massivefermion commented 1 year ago

Thanks