Update tasks.py

strips microsecond from sms date