summaryrefslogtreecommitdiff
path: root/timestamp.py
diff options
context:
space:
mode:
Diffstat (limited to 'timestamp.py')
-rw-r--r--timestamp.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/timestamp.py b/timestamp.py
index b123951..8f00db2 100644
--- a/timestamp.py
+++ b/timestamp.py
@@ -25,9 +25,18 @@ class TimeStamp(datetime.datetime):
ts._yaml = copy.deepcopy(self._yaml)
return ts
- def replace(self, year=None, month=None, day=None, hour=None,
- minute=None, second=None, microsecond=None, tzinfo=True,
- fold=None):
+ def replace(
+ self,
+ year=None,
+ month=None,
+ day=None,
+ hour=None,
+ minute=None,
+ second=None,
+ microsecond=None,
+ tzinfo=True,
+ fold=None,
+ ):
if year is None:
year = self.year
if month is None: