2 ms·
The library looks really nice usability wise. The arrow.get function tries a bit too hard to be user-friendly ; it lets me wondering if a value could have an u
by zimbatm 12y ago
The library looks really nice usability wise.
The arrow.get function tries a bit too hard to be user-friendly ; it lets me wondering if a value could have an unexpected interpretation.
One use-case that seem to be missing is time deltas. There is a support for time iteration but I don't see a good way to transform two timestamps into a time interval.
- cshimmin 12y ago> One use-case that seem to be missing is time deltas. I just fired up ipython and tried: >>> t1 = arrow.now() >>> t2 = arrow.now() >>> t2-t1 datetime.timedelta(0, 4, 864716) It appears the difference operator returns a datetime.timedelta object.