diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-23 02:01:10 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-23 02:01:10 +0300 |
commit | 92cb9a625731a355af21682068bc1f5b09b27eec (patch) | |
tree | 9ae62c7839dcfe050749cb4c7b1bed42c24c42e9 | |
parent | 31001a7298e2e50cd92d175d69c9b142eeef6882 (diff) |
fix date parsing
-rw-r--r-- | e3372.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ class SMS: def timestamp(self): # input example: 2020-08-11 14:55:51 - return int(datetime.strptime(self.date, '%Y-%m-%d %H-%M-%S').strftime("%s")) + return int(datetime.strptime(self.date, '%Y-%m-%d %H:%M:%S').strftime("%s")) class APIError(Exception): |