Giter Club home page Giter Club logo

Comments (4)

KaelWD avatar KaelWD commented on May 24, 2024

This is just using new Intl.DateTimeFormat('ar', { weekday: 'narrow' }).format(new Date())

https://github.com/unicode-org/cldr/blob/af19649b0c44565a3ead370412ddacaf7b57b2a5/common/main/ar.xml#L1792-L1800

from vuetify.

blalan05 avatar blalan05 commented on May 24, 2024

https://play.vuetifyjs.com/#eNq1k09LxDAQxb/K2Eu2sG3XWhWWriCI6F3wYD2Edipl849p2iKl39201cVlz7mEzMybXwi89zEGLZXJozFx32GwD3KL0ghu8aFQAHkfcWOW61KUWlneKKTfFsA4wquyIn5yK2+NxGdNktsN48S2MMKAeKz49x6Y4kR6YDCFcb1qFA4wr21YukuzaJdF6TULQ5gmP/DUJ/zGJzzzCb/1Cb/zCb8/hzt/Cl1ygZEh3TcVEqz1oQg4FcHJs4u0cqzINOXRyZLTKE8uIH/ud5Nz+8+dNR158i81rmxLaoyFFm23hqeRRpN1PySsYYKatATmAsdmOYDjthZk+wWHWbFhLyiEhndNorpi4fzAinSwYNqqTojl+PwBS4wttg==

from vuetify.

Daenara avatar Daenara commented on May 24, 2024

Even if it is just Intl doing it, I feel like vuetify should give me something to be able to fix it. It might even be some convention that is just never used in Arabic, but it seems to not be widely used.

I would really enjoy the ability to override this for specific languages, either by handing my own Intl.DateTimeFormat in, or by just having the option to use translation keys to override it.

Pretty sure Arabic is not the only language where what is defined isn't widely used.

from vuetify.

KaelWD avatar KaelWD commented on May 24, 2024

createVuetify.date has a formats option but it isn't being used for getWeekdays, or you can pass a complete adapter. Maybe date-fns handles this differently?

If you think cldr is wrong here feel free to open an issue with unicode: https://github.com/unicode-org/cldr/blob/main/CONTRIBUTING.md

from vuetify.

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.