Giter VIP home page Giter VIP logo

Comments (11)

hifi avatar hifi commented on August 20, 2024 9

I still want the application to be in English but I'd at least like to have a 24 hour clock and a local date style (dd.mm.yyyy). It's not uncommon to have regional formatting separated from language as people have preferences. That may be obvious but I'm underlining it just in case.

from cinny.

toymil avatar toymil commented on August 20, 2024 6

An option to let the user supply date formatting string in addition to predefined ones would be better.

(and please use yyyy-mm-dd not yyyy/mm/dd, as per iso-8601)

from cinny.

ajbura avatar ajbura commented on August 20, 2024 3

Ah, I got you. IMO those should be done with localization/internationalization.

from cinny.

erickhavel avatar erickhavel commented on August 20, 2024 3

Yes please, +1 for 24-hour clock format!

Date format is secondary (to me personally) and it would probably be quick/easy to add a checkbox setting for 12/24 hours compared to thinking through how to deal with various l8n quirks.

Rationale for prioritizing clock over date being that you look at timestamps a lot more than you look at dates (when it comes to chatting).

from cinny.

vwkd avatar vwkd commented on August 20, 2024 1

Re: #60 (comment)

Cinny (and every other website) would need to reimplement all internationalization options given by the internationalization APIs such that you can customize it differently for different websites. Internationalization is very hard and puts a huge burden on the website’s shoulders. A website should use the internationalization APIs directly since that is what the APIs are for. Allowing different internationalization for different sites should be a browser setting such that websites don’t have to reimplement custom logic. Granted, no browser seems to be doing that right now. But that might be worth a proposal to your favorite browser.

from cinny.

ajbura avatar ajbura commented on August 20, 2024

Date and time format is hard coded.

I see my local time in channel timeline or you talking about something else?

from cinny.

hifi avatar hifi commented on August 20, 2024

Formatting, 12/24 hour and date style. There should be an override for them.

from cinny.

ashkitten avatar ashkitten commented on August 20, 2024

Re: #60 (comment)

Cinny (and every other website) would need to reimplement all internationalization options given by the internationalization APIs such that you can customize it differently for different websites. Internationalization is very hard and puts a huge burden on the website’s shoulders. A website should use the internationalization APIs directly since that is what the APIs are for. Allowing different internationalization for different sites should be a browser setting such that websites don’t have to reimplement custom logic. Granted, no browser seems to be doing that right now. But that might be worth a proposal to your favorite browser.

something i don't think this comment makes very clear is that right now cinny does not use the browser internationalization apis at all, instead opting for a nodejs library that only supports explicit datetime formats. this is why it always uses the american datetime format.

from cinny.

GTcreyon avatar GTcreyon commented on August 20, 2024

Screenshot_20230313_170027
Would a setting like this be appropriate?

from cinny.

WhiteBlackGoose avatar WhiteBlackGoose commented on August 20, 2024

It would be nice to have a full datetime format string (and, if necessary, UI with presets for non-technical people). Xfce4 does it very well, for example

from cinny.

aceArt-GmbH avatar aceArt-GmbH commented on August 20, 2024

Ah, I got you. IMO those should be done with localization/internationalization.

I implemented it in #1602 (ef27638#diff-756dcbae1f478ea2a134d93e3d7eab916cf2ff092dd53e0da11b9a207e4bf456R503)

from cinny.

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.