Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevsaddam/ponjika
Tiny bengali ponjika based on Gregorian date
https://github.com/thedevsaddam/ponjika
bengali-calendar ponjika
Last synced: 2 months ago
JSON representation
Tiny bengali ponjika based on Gregorian date
- Host: GitHub
- URL: https://github.com/thedevsaddam/ponjika
- Owner: thedevsaddam
- License: mit
- Created: 2018-03-30T16:15:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T11:16:01.000Z (over 6 years ago)
- Last Synced: 2024-06-20T12:43:05.985Z (6 months ago)
- Topics: bengali-calendar, ponjika
- Language: Go
- Size: 10.7 KB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
Package ponjika
================
[![Build Status](https://travis-ci.org/thedevsaddam/ponjika.svg?branch=master)](https://travis-ci.org/thedevsaddam/ponjika)
[![Project status](https://img.shields.io/badge/version-1.0-green.svg)](https://github.com/thedevsaddam/ponjika/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/thedevsaddam/ponjika)](https://goreportcard.com/report/github.com/thedevsaddam/ponjika)
[![Coverage Status](https://coveralls.io/repos/github/thedevsaddam/ponjika/badge.svg?branch=master)](https://coveralls.io/github/thedevsaddam/ponjika?branch=master)
[![GoDoc](https://godoc.org/github.com/thedevsaddam/ponjika?status.svg)](https://godoc.org/github.com/thedevsaddam/ponjika)
[![License](https://img.shields.io/dub/l/vibe-d.svg)](https://github.com/thedevsaddam/ponjika/blob/dev/LICENSE.md)Tiny bengali ponjika based on Gregorian date
### Installation
Install the package using
```go
$ go get github.com/thedevsaddam/ponjika
```### Usage
To use the package import it in your `*.go` code
```go
import "github.com/thedevsaddam/ponjika"
```
### Example```go
package mainimport (
"fmt"
"time""github.com/thedevsaddam/ponjika"
)func main() {
layout := "2006-01-02 15:04:05"
t, _ := time.Parse(layout, "2018-04-14 14:18:00")
p := ponjika.New(t)
fmt.Println(p)
fmt.Println(p.Phonetic())
}
// output:
// ১ বৈশাখ ১৪২৫ রোজ শনিবার
// 1 Boisakh 1425 Roj Shonibar
```### Credit
This package is directly ported from [Nuhil Mehdy's](https://github.com/nuhil) [bangla-calendar](https://github.com/nuhil/bangla-calendar)Special thanks to [Ahmed shamim](https://github.com/me-shaon)
### See all [contributors](https://github.com/thedevsaddam/ponjika/graphs/contributors)
### Read [API doc](https://godoc.org/github.com/thedevsaddam/ponjika) to know about ***Available options and Methods***
### **License**
The **ponjika** is an open-source software licensed under the [MIT License](LICENSE.md).