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

Date Pipe library

$
0
0

@AaronSterling wrote:

I recently published my first library to npm. It’s a set of date pipes that I built for Ionic applications after @rapropos reported on these forums that the standard Angular date pipe didn’t render well on some Apple phones. I wanted to learn more about npm, so I read this tutorial (and others) about publishing to the npm registry and here we are.

There’s a date pipe, a time-ago pipe, max date in an array, min date in an array, and distance in words between dates. The pipes are built from functions in the date-fns project. English only right now, but I plan to add support for other languages in a day or two.

As I said, this is my first attempt to publish to the npm registry, so if you try out the library, please let me know your experience, good or bad. Still learning here. Thanks.

Direct link: ng-datefns-pipes

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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