Skip to content

matuzalemsteles/MonthNamePipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Month Name

Simple pipe to angular2, returns the name of the month.

Installation

  1. First do it the download or clone of the repository and use the file month-name.ts in your project.
  2. Import in your main module.
import { NgModule } from '@angular/core';
//...

import { MonthNamePipe } from '../pipes/month-name';

@NgModule({
  imports: [],
  declarations: [ MonthNamePipe ]
  //...
})
export class AppModule {}

Usage

month

Return the name of the month.

<p> {{ monthNumber | month }} </p>

License

MIT © Matuzalém Teles

About

📅 Pipe pass the number of the month and returns the name of the month. Pipe for angular2.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published