title: How to detect minimum Date value in Angular?
body: <p>I'm very new to Angular technology and I'm facing a small issue in our code.</p>
  <p>I need to adds a estimated arrival time to our current display (so obviously it's a Date type). The data is coming from the c# server, we everything else for the purpose of querying for the data is already built. It can be displayed like this below:</p>
  <p><img src="https://i.stack.imgur.com/ldqWC.png" alt="UI Disaplay" /></p>
  <p>If I don't format the date, it will look like this: 0001-01-01T00:00:00</p>
  <p>But as you can see, the issue is that when the arrival time reset in the server and then queried by the angular app, the minimum date time will be displayed on the UI. However, I'd like to make it display an empty space instead (or an empty string, whatever would makes sense here.)</p>
  <p>Is there any way to detect this minimum date time value, and then instead print out an empty space or string (for example, like '&amp;nbsp')?</p>
  <p>The html code is this:</p>
  <pre><code>&lt;div&gt;
      &lt;label&gt;ETA&lt;/label&gt;
      &lt;div&gt;{{ eta | date: 'hh:mm a MM/dd' | default: '&amp;nbsp;' }}&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>The code from the component type script is, it's coming from an incident object we defined:</p>
  <pre><code>  get eta(): Date {
      return this.incident?.eta;
    }
  </code></pre>