mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Bump arrow from 1.2.1 to 1.2.2 (#1630)
* Bump arrow from 1.2.1 to 1.2.2 Bumps [arrow](https://github.com/arrow-py/arrow) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/arrow-py/arrow/releases) - [Changelog](https://github.com/arrow-py/arrow/blob/master/CHANGELOG.rst) - [Commits](https://github.com/arrow-py/arrow/compare/1.2.1...1.2.2) --- updated-dependencies: - dependency-name: arrow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update arrow==1.2.2 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
This commit is contained in:
parent
8e6f8d7735
commit
2d9e109f97
6 changed files with 891 additions and 1304 deletions
|
@ -759,7 +759,7 @@ class Arrow:
|
|||
>>> start = datetime(2013, 5, 5, 12, 30)
|
||||
>>> end = datetime(2013, 5, 5, 17, 15)
|
||||
>>> for r in arrow.Arrow.interval('hour', start, end, 2):
|
||||
... print r
|
||||
... print(r)
|
||||
...
|
||||
(<Arrow [2013-05-05T12:00:00+00:00]>, <Arrow [2013-05-05T13:59:59.999999+00:00]>)
|
||||
(<Arrow [2013-05-05T14:00:00+00:00]>, <Arrow [2013-05-05T15:59:59.999999+00:00]>)
|
||||
|
@ -1384,7 +1384,7 @@ class Arrow:
|
|||
search_string = search_string.format(r"\d+")
|
||||
|
||||
# Create search pattern and find within string
|
||||
pattern = re.compile(fr"{search_string}")
|
||||
pattern = re.compile(fr"(^|\b|\d){search_string}")
|
||||
match = pattern.search(input_string)
|
||||
|
||||
# If there is no match continue to next iteration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue