Format a date on Pdfmake
<p>I have used <strong><a href="https://github.com/bpampuch/pdfmake" rel="nofollow noreferrer">pdfmake</a></strong> library to export pdf content with the <strong><a href="http://ui-grid.info/docs/#/tutorial/206_exporting_data" rel="nofollow noreferrer">Angular UI Grid</a></strong>.Could you tell me how to format the date on it ? Thanks.</p>

<p>Currently it shows like this :</p>

<p><a href="https://i.stack.imgur.com/aQiZQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aQiZQ.jpg" alt="enter image description here"></a></p>

<p>Angular grid it's like this :</p>

<p><a href="https://i.stack.imgur.com/qwive.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qwive.jpg" alt="enter image description here"></a></p>

<pre><code> {
   name: app.localize('BrDateReceived'),
   field: 'bpoHeaderPerformedFors[0].dateReceived',
   cellFilter: 'date:\'MM/dd/yyyy\'',
   width: 140,
 },
</code></pre>