Giter Club home page Giter Club logo

mmcalendar's Introduction

Hi there 👋

mmcalendar's People

Contributors

chanmrate avatar chanmratekoko avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mmcalendar's Issues

Converting Myanmar date to Gregorian date

Hi @chanmrate @chanmratekoko

I'm an Android developer and I have been working on ODK Collect. We wanted to use this repository in order to support Myanmar calendar. There is one problem I ran into: is it possible to convert Myanmar date to Gregorian date? Or maybe only converting Gregorian->Myanmar is supported?
I was able to convert Gregorian->Myanmar but I can't see an option to convert Myanmar->Gregorian. Am I missing something?

Problems with month names in 1.0.8.RELEASE

Hi, it's Grzegorz from ODK Collect again.

I wanted to update the version of mmcalendar we use in our app from 1.0.6.RC3 to 1.0.8.RELEASE but I've noticed some issues.

If I try to get the list of months for a given year for example 1385 I get this in 1.0.8.RELEASE:
[တန်ခူး, ကဆုန်, နယုန်, First Waso, Second Waso, ဝါခေါင်, တော်သလင်း, သီတင်းကျွတ်, တန်ဆောင်မုန်း, နတ်တော်, ပြာသို, တပို့တွဲ, တပေါင်း, နှောင်းတန်ခူး]
but in 1.0.6.RC3 it was:
[တန်ခူး, ကဆုန်, နယုန်, ပဝါဆို, ဒုဝါဆို, ဝါခေါင်, တော်သလင်း, သီတင်းကျွတ်, တန်ဆောင်မုန်း, နတ်တော်, ပြာသို, တပို့တွဲ, တပေါင်း, နှောင်းတန်ခူး]

so it looks like First Waso and Second Waso have no translations.

This is how I read the list of months in 1.0.8.RELEASE:

MyanmarMonths.of(1385, 0).getMonthNameList(Language.MYANMAR)

Another problem with translations I have noticed is that when for the same year (1385) I try to get the month name when it is First Waso I get First Waso but when the month is Second Waso I get ဒု ဝါဆို
This is how I read the month name:

MyanmarDate myanmarDate = MyanmarDate.of(...)
myanmarDate.getMonthName(Language.MYANMAR)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.