1. Turns out there were extra parentheses in the scalar/localtime routine, which were closing out the text field early. Just another case of a "short circuit between the headphones".
2. Thanks to the respondents, who encouraged me to "pretty-fy" the API call; that's what led me to the cause.