title: Angular 6 using 'h' as time separator
body: <p>Is there any built-in easy way to use 'h' as hours/minutes separator? I am trying to do something like this "12h45" as per: </p>
  
  <ul>
  <li><a href="https://en.wikipedia.org/wiki/Date_and_time_notation_in_France" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Date_and_time_notation_in_France</a></li>
  </ul>
  
  <p>For other countries it is quite easy e.g.</p>
  
  <pre><code>import { Pipe, PipeTransform } from '@angular/core';
  import { DatePipe } from '@angular/common';
  
  @Pipe({
    name: 'dateFormat'
  })
  export class DateFormatPipe extends DatePipe implements PipeTransform {
  
    transform(value: any, args?: any): any {
  
      switch (args) {
        case 'en': {
          return super.transform(value, 'MM/dd/yyyy h:mm a');
        }
  
        case 'fr': {
          return super.transform(value, 'dd/MM/yyyy HH:mm'); // &lt;--- find proper separator
        }
  
        case 'de': {
          return super.transform(value, 'dd.MM.yyyy HH:mm');
        }
  
        case 'es': {
          return super.transform(value, 'yyyy/MM/dd hh:MM');
        }
      }
    }
  }
  </code></pre>
  
  <p>NOTE: selected date formats might not be true or in everyday use, this is just for demo purpose.</p>