I think you can simplify this a bit to:

``` ruby
time.strftime("#{TIME_FORMAT}.#{"%06d" % time.usec} %z")
```