Added in gsub to fix time formate on server for api auth 2