Applied Reuven's patch #194 instead: "Basically, I switched to using localtimestamp (rather than current_timestamp), which gets rid of the time zone. Using a parameter of 0 removes the fractional seconds."
Added switch -base to export_vars, which will make export_vars return a complete URL. The advantage of using this is that it'll be smart about only appending the question mark if there were any variables to export.