Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Angular 2 - DatePipe fails in Ionic View App

$
0
0

@benedictchan wrote:

I am building an app using Ionic 2 and Angular 2, right now I only run ionic serve in my local, and use ionic upload then running Ionic View on my Iphone 6 plus as for testing.

Thanks for the Ionic team, everything works fine even with my own components and pipes.

My app runs smooth in my local, but when I upload it to Ionic View, whenever I used DatePipe in the View of my component, everything after that line will not be showing (probably failed loading).

"""
Any format or even without format will fail in the Ionic View App
{{ birthday | date }}
{{ birthday | date:'yMMMMd'}}
"""

Right now I implemented a simple custom Pipe to overcome this ( as I just need a very simple format ) and it is working again in both local and Ionic View.

My question is, is it I missed any reference in my code? (It runs well in my localhost)
Also, is there anyway I can debug or help about this kind of things?

Thanks a lot

Benedict

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>