clockwork 0.3.2__tar.gz → 0.3.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: clockwork
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Toolkit for time-related operations including scheduling, logging, date manipulation, and more.
5
5
  Home-page: https://github.com/zteinck/clockwork
6
6
  License: MIT
@@ -8,5 +8,5 @@ from .utils import (
8
8
  date_format_to_regex,
9
9
  )
10
10
 
11
- __version__ = '0.3.2'
11
+ __version__ = '0.3.3'
12
12
  __author__ = 'Zachary Einck <zacharyeinck@gmail.com>'
@@ -909,7 +909,8 @@ class Timestamp(object):
909
909
 
910
910
  return pd.to_datetime(arg, **kwargs).to_pydatetime()
911
911
 
912
- if isinstance(arg, cls):
912
+ # Timestamp instance (or subclass)
913
+ if isinstance(arg, Timestamp):
913
914
  return arg.dt
914
915
 
915
916
  # pandas object
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "clockwork"
3
- version = "0.3.2"
3
+ version = "0.3.3"
4
4
  description = "Toolkit for time-related operations including scheduling, logging, date manipulation, and more."
5
5
  authors = ["Zachary Einck <zacharyeinck@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes
File without changes