Paul Dicker
Paul Dicker
I finally got to learn a little python yesterday and translated the `generate_pattern` script. Now I have to rebase on master and add another pattern, because the golf features pr...
Updated to include the new `golf_rough` pattern:  Full SVG: https://gist.githubusercontent.com/pitdicker/468e4c5b125fbf0711268d237164e128/raw/e6cd937b9004d6e62424f5202da183d4656d3d95/patterns_index_workarounds_v2.svg Instead of the existing 40x40px pattern for `golf_rough`, I based it on the beach pattern with a little larger...
Fixed merge conflicts.
I have been looking into changing this. A problem is that ziplines can both recreational, or part of the infrastructure. See https://wiki.openstreetmap.org/wiki/Tag:aerialway%3Dzip_line and https://en.wikipedia.org/wiki/Zip_line. An example of what I think...
It is currently not possible. Two weeks ago I just happened to work on a branch to add support for formatting and parsing this. https://github.com/pitdicker/chrono/tree/offset_formatting. But I currently have a...
Thank you @mjdwitt!
I hope to prove it useful soon. Fine to hold off for now.
For integers saturation operations make sense because they have a commonly agreed-upon range. For dates and datetimes the range we support is somewhat arbitrary, and min and max are way...
> How can I know if there were any time gaps so that I could skip them? If the time zone is UTC there are no gaps, `Utc::now().checked_sub_days(chrono::Days::new(30))` will always...
`Local::now().naive_local().checked_sub_days(chrono::Days::new(30))?.and_local_timezone(Local)` should do the same and return a `LocalResult`. `earliest()` and `latest()` can then be used for the gap boundaries. Quoting from https://github.com/chronotope/chrono/issues/1448: > Methods on `DateTime` currently don't return...