-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TimeDelta format
quantity_str
for Year Day Hour Minute Sec stri…
…ng (#15264) The main change is the addition of the TimeDeltaQuantityString format. But this also changes the TimeBase logic for handling format: it now relies entirely on being a subclass of TimeUnique instead of also checking on input datatype. This is needed to allow `jd` as a unique format for TimeDelta. Furthermore, TimeDelta init is made consistent with Time init, by allow precision, in_subfmt, out_subfmt arguments. This is a (small) API change since the final copy arg position changed. To make this clear args after scale are now required as keyword args.
- Loading branch information
Showing
9 changed files
with
574 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.