clockwork 0.3.2__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {clockwork-0.3.2 → clockwork-0.3.4}/PKG-INFO +1 -1
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/__init__.py +1 -1
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/timestamp.py +4 -3
- {clockwork-0.3.2 → clockwork-0.3.4}/pyproject.toml +1 -1
- {clockwork-0.3.2 → clockwork-0.3.4}/LICENSE +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/README.md +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/constants.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/decorators.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/month_end.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/quarter_end.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/__init__.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/_scheduler.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/_task.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/file_monitor.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/logger.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/taskmaster.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/taskmaster/utils.py +0 -0
- {clockwork-0.3.2 → clockwork-0.3.4}/clockwork/utils.py +0 -0
|
@@ -888,8 +888,8 @@ class Timestamp(object):
|
|
|
888
888
|
qe_cls = cls._get_quarter_end_cls()
|
|
889
889
|
parsed = qe_cls.parse_label(arg)
|
|
890
890
|
if parsed is None: return
|
|
891
|
-
year,
|
|
892
|
-
qe = qe_cls(year=year,
|
|
891
|
+
year, quarter = parsed
|
|
892
|
+
qe = qe_cls(year=year, quarter=quarter, offset=offset)
|
|
893
893
|
return qe.dt
|
|
894
894
|
|
|
895
895
|
|
|
@@ -909,7 +909,8 @@ class Timestamp(object):
|
|
|
909
909
|
|
|
910
910
|
return pd.to_datetime(arg, **kwargs).to_pydatetime()
|
|
911
911
|
|
|
912
|
-
|
|
912
|
+
# Timestamp instance (or subclass)
|
|
913
|
+
if isinstance(arg, Timestamp):
|
|
913
914
|
return arg.dt
|
|
914
915
|
|
|
915
916
|
# pandas object
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|