Okay, so I've been trying to figure this out on and off for two weeks now, and I am pretty close but I just need that last push. I'm working with an API that returns a bunch of events, all in different timezones. The API simply gives me offsets of `-5`, `-7`, etc... I am using moment.js to parse times and timezones, which will then return events in the user's timezone and it only accepts a "full" timezone string such as `-07:00`. So I started to manipulate the data in JS with the following:

```
// number padding
  function pad(n) { 
      if (n < 10 & n >=0){
        return ("0" + n);
      } 
      if(n < 0 & n > -11){
        return ("-0" + Math.abs(n));
      }
      return n; 
    }

  var timedate = '2017/03/02 1:05',
      ampm = 'PM',
      zone = '-5',
      padded = pad(zone),
      adjustedZone = parseInt(padded).toFixed(2),
      adjustedTwo = adjustedZone.replace('.', ':');

```

This is very very close, with the exception that `.toFixed` strips my leading zero and simply returns `-5:00`.

How can I preserve leading zeros in this scenario? I also need to support the `-10:00` timezone as well, and potentially any positive timezones, although my target user would be North American, but would be a GIANT plus to support all timezones. 

Any help is much appreciated, you can also see a very messy codepen [here](http://codepen.io/erwstout/pen/JWGJzN?editors=1010).