title: Momentjs format moment object and keep offset
body: <p>I have a momentjs object that hold a datetime with an offset. This moment object was created from its string representation:</p>
  
  <pre><code>var x = moment("2017-02-08T04:11:52+6:00")
  </code></pre>
  
  <p>After working with the object, I would like to get the same textual representation from the moment object.</p>
  
  <p>I get the following results when trying to format the object:</p>
  
  <ul>
  <li><code>x.format()</code>  => <code>"2017-02-08T04:11:52+14:00"</code></li>
  <li><code>moment.parseZone(x).format("YYYY-MM-DDTHH:mm:ssZ")</code>  => <code>"2017-02-07T14:11:52+00:00"</code></li>
  </ul>
  
  <p>How can I format my moment object such that I have the exact same representation again?</p>