title: Including moment.js in a mobile app
body: <p>Is moment.js supposed to work on mobile platforms? I am building something in Phonegap and trying to get it to work on a page. </p>
  
  <p>Here is what the start of my page looks like:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script type="text/javascript" charset="utf-8" src="cordova.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" type="text/css" href="../css/jquery.mobile.flatui.css"/&gt;
  &lt;script src="../js/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
  &lt;script src="../js/jquery.mobile-1.3.2.min.js"&gt;&lt;/script&gt;
  &lt;script src="../js/moment.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  </code></pre>
  
  <p>I also configured requires.config to find it. Not sure what is going wrong, or is there something I am completely oblivious to. Any kind of pointers will be greatly appreciated.</p>
  
  <p>This is how I use it in my JS code:</p>
  
  <pre class="lang-js prettyprint-override"><code>var now = moment(); 
  console.log("Playing with dates..."+now); 
  console.log(moment().weekday(0));
  </code></pre>
  
  <p>But the calls don't seem to be going through.</p>