https://github.com/matuzalemsteles/monthnamepipe
📅 Pipe pass the number of the month and returns the name of the month. Pipe for angular2.
https://github.com/matuzalemsteles/monthnamepipe
angular2 month ng2 pipe
Last synced: over 1 year ago
JSON representation
📅 Pipe pass the number of the month and returns the name of the month. Pipe for angular2.
- Host: GitHub
- URL: https://github.com/matuzalemsteles/monthnamepipe
- Owner: matuzalemsteles
- License: mit
- Created: 2017-02-11T00:16:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T00:58:18.000Z (over 9 years ago)
- Last Synced: 2025-02-16T02:35:59.602Z (over 1 year ago)
- Topics: angular2, month, ng2, pipe
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
``` typescript
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.
``` html
{{ monthNumber | month }}
```
## License
[MIT](https://github.com/matuzalemsteles/MonthNamePipe/blob/master/LICENSE) © [Matuzalém Teles](https://github.com/matuzalemsteles)