Git Product home page Git Product logo

Comments (10)

nekohasekai avatar nekohasekai commented on August 11, 2024

Now we need an Iranian calendar date picker with no external dependencies, because I am just an amateur developer :)

from nekox.

JohnSmit268 avatar JohnSmit268 commented on August 11, 2024

All you need is to convert the date telegram uses as it's current date to Iranian Jalali date and use that.
I did it with javascript before I can send you the library and usage guides if it helps

from nekox.

nekohasekai avatar nekohasekai commented on August 11, 2024

This is easy, but the date picker is still displayed in the Gregorian calendar.

from nekox.

JohnSmit268 avatar JohnSmit268 commented on August 11, 2024

I might be able to find what you're looking for but I don't exactly know what the date picker is, could you elaborate?

from nekox.

nekohasekai avatar nekohasekai commented on August 11, 2024

Screenshot_2020-07-19-09-05-39-279_nekox messenger

from nekox.

JohnSmit268 avatar JohnSmit268 commented on August 11, 2024

Here, I found a few open source persian date pickers:
I recommend the first one as it's already in use in other local unofficial telegrams

https://github.com/mohamad-amin/PersianMaterialDateTimePicker

https://github.com/aliab/Persian-Date-Picker-Dialog

https://github.com/ali-sardari/PersianRangeDatePicker

https://github.com/alirezaafkar/SunDatePicker

from nekox.

nekohasekai avatar nekohasekai commented on August 11, 2024

They all use very heavy app compat library, very old, none of them upgraded to androidx

from nekox.

DearRude avatar DearRude commented on August 11, 2024

Any updates on this?

from nekox.

JohnSmit268 avatar JohnSmit268 commented on August 11, 2024

@DearRude There's no compatible AndroidX datepicker yet so no

from nekox.

Navid14101 avatar Navid14101 commented on August 11, 2024

no need to apply jalali calendar to the date picker.
what is important is that the jalali calendar is applied to the date bubble that appears on the chat screen.
you can note it under the option in neko settings if you want!

from nekox.

Related Issues (20)

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.