title: converting time to local timezone not working with moment.js in React
body: <p>I am converting a timestamp on a DB object using <strong>moment</strong>:</p>
  <pre><code>{moment(comment.created_at).local(true).format('h:mm a')}
  </code></pre>
  <p>My time is outputting in UTC time because that is how it gets created in my DB.
  So I am seeing '6:45 PM' for example, when I want to see the time in MY timezone (EST) or the user's relative timezone. According to the moment docs <code>local()</code> will convert to your current timezone? Calling the <code>local()</code> method as shown in my code aboven does not change the time zone. Am I using this incorrectly?</p>
  <p><strong>My DB object</strong></p>
  <pre><code>{
    client_id: 24
    created_at: &quot;2022-02-11 17:41:39.330443&quot;
    id: 22
    report: &quot;sfsf&quot;
    report_category: &quot;Client Assigned&quot;
    volunteer_id: 23
  }
  </code></pre>