Coder Social home page Coder Social logo

jalalicalendar's People

Contributors

razeghi71 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

jalalicalendar's Issues

Wrong leap year detection

Hi, 1404 year is leap year in Jalali calendar, but library does not define it that way.

JalaliCalendar(1404, 1, 1).isLeap return false but it's not true

Any date in 1404 year is being converted to the Gregorian calendar incorrectly.

Example:

JalaliCalendar(1404, 1, 1).toGregorian() == 21.03.2025 - incorrect
1.1.1404 in Jalali it is 20.03.2025 in Gregorian

It would be cool if this bug is being fixed. Thanks

1 day less

current: 2020-4-26
convert to jalali : 1399-02-06 wrong!
correct : 1399-02-07

خطا تبدیل میلادی به شمسی

تاریخ 20-01-2017
رو یه بررسی کنید درست به تاریخ شمسی تبدیل نمیشه
تبدیلش میکنه به 30-10-1395
که باید بشه 01-11-1395

پیشنهاد توسعه

سلام پیشنهادی دارم برای افزودن قابلیت نمایش رویداد به برنامه ای که توسعه دادید

الان که همه ی سیستم ها به اینترنت متصل هستند پیشنهاد میکنم ارتباط با ای پی آي های تقویم رو هم در این سورس خوب پیاده سازی کنید
خودم از این سرویس زیاد استفاده میکنم


وب سرویس تقویم فارسی

اطلاعات خوبی ارائه میده مثل وقایع و مناسبت های هر روز و دریافت رویداد در حالت شمسی و قمری و میلادی

Wrong calcualtion from gregorian calendar

Hi
this library isn't working correctly
consider gregorian calendar of this date = 2019-6-29
we expect JalaliCalendar to return 1398/04/08
but actually returns 1398/05/07

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.