title: Date processing in NestJS
body: <p>My NestJS API is returning a string in format 'YYYY-mm-dd' and I want it to format like 'dd-mm-YYYY', or a date object if it is possible.</p>
  <p>The NestJS do not recognize when Angular send a Date too. Do I need to send it as string in a specific way or Nest can convert it?</p>
  <p>I'm looking for answers for some time and docs, but did not find any</p>
  <p><strong>My entity is like:</strong></p>
  <pre class="lang-js prettyprint-override"><code>export class Example {
    @PrimaryGeneratedColumn()
    id: number;
  
    @Column('date', { nullable: true })
    date: Date;
  }
  </code></pre>
  <p><strong>The result that the API returns is like:</strong></p>
  <pre class="lang-js prettyprint-override"><code>[
    {
      'id': '1',
      'date': '2020-06-25'
    }
  ]
  </code></pre>