# Latest Ionic version - InvalidePipeArgument "DatePipe" on iOS

**URL:** <https://forum.ionicframework.com/t/latest-ionic-version-invalidepipeargument-datepipe-on-ios/110155>\
**Category:** ionic-v3\
**Created:** [October 27, 2017, 5:59am UTC](https://forum.ionicframework.com/t/latest-ionic-version-invalidepipeargument-datepipe-on-ios/110155 "2017-10-27T05:59:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StoRmtec](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@StoRmtec](https://forum.ionicframework.com/u/StoRmtec)\
**Post date:** [October 27, 2017, 5:59am UTC](https://forum.ionicframework.com/t/latest-ionic-version-invalidepipeargument-datepipe-on-ios/110155/1 "2017-10-27T05:59:56Z")

</div>

Hello  
I have build an App. When i start it on iOS in Browser i become InvalidePipeArgument '2017-10-23 00:00:00.000 for Pipe "DatePipe"  
On Windows in Browser the App works.  
What is happend?

THx

---

<div class="post-metadata">

**Author:** ![pwespi](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@pwespi](https://forum.ionicframework.com/u/pwespi)\
**Post date:** [October 27, 2017, 7:55am UTC](https://forum.ionicframework.com/t/latest-ionic-version-invalidepipeargument-datepipe-on-ios/110155/2 "2017-10-27T07:55:39Z")

</div>

I don’t know what the cause of your problem is, but here is a custom date pipe using [date-fns](https://date-fns.org/) that works great for me:

> [@Dates and Ionic Storage](https://forum.ionicframework.com/t/dates-and-ionic-storage/100000/11):
>
> I am not a big fan of the stock Angular date pipe, because it relies on the very wobbly JavaScript i18n language support. Here is the date pipe I use: import {Injectable, Pipe, PipeTransform} from '@angular/core'; import {TranslateService} from "@ngx-translate/core"; declare function require(name:string): any; let format = require('date-fns/format'); @Pipe({ name: 'dateformat' }) @Injectable() export class DateFormatPipe implements PipeTransform { private format: string; constructor(xla…
