Add helper function for timestamp

This commit is contained in:
JonnyWong16 2020-03-28 14:50:45 -07:00
parent c6cf293b12
commit f72d93216c
10 changed files with 37 additions and 29 deletions

View file

@ -2553,7 +2553,7 @@ class PUSHOVER(Notifier):
'sound': self.config['sound'],
'html': self.config['html_support'],
'priority': self.config['priority'],
'timestamp': int(time.time())}
'timestamp': helpers.timestamp()}
if self.config['incl_subject']:
data['title'] = subject