kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Re #149 - allow empty timestamp limit for scrub operation
rodzic
1c09407e24
commit
750b882546
|
@ -299,7 +299,10 @@ def changedetection_app(config=None, datastore_o=None):
|
|||
if request.method == 'POST':
|
||||
confirmtext = request.form.get('confirmtext')
|
||||
limit_date = request.form.get('limit_date')
|
||||
limit_timestamp = 0
|
||||
|
||||
# Re #149 - allow empty/0 timestamp limit
|
||||
if len(limit_date):
|
||||
try:
|
||||
limit_date = limit_date.replace('T', ' ')
|
||||
# I noticed chrome will show '/' but actually submit '-'
|
||||
|
|
Ładowanie…
Reference in New Issue