Re-use variable
Revert "Re-use variable"

This reverts commit ae36f632499e39fd0051a1b131de9e5220103125.
Status code in error log
Add TimeZone HTTP header; re-use time of activity variable