The modifier removes the indentation. If you use% -l instead of% l, it will not put free space, and you can manually add a space.
Time.now.strftime @tzformat = "%F, %-l:00 %p" #=> "2015-01-29, 8:00 PM" (Time.now + 3600*2).strftime @tzformat = "%F, %-l:00 %p" #=> "2015-01-29, 10:00 PM"
source share