GithubHelp home page GithubHelp logo

Comments (5)

ppfeufer avatar ppfeufer commented on May 28, 2024

Unfortunately, this is not reliable, since it uses the system's timezone configuration, which can differ from the actual timezone the user is in. Doesn't work for systems with multiple configured timezones, and also doesn't work in the copy/paste text ...

from aa-fleetpings.

MorphedAU avatar MorphedAU commented on May 28, 2024

uses the system's timezone configuration, which can differ from the actual timezone the user is in.

  • so does the Timezone Conversion page that gets linked when installed. Also I'd like to think if someones system is running in a different timezone, the user would be aware of that.

Doesn't work for systems with multiple configured timezones

  • fair, i've never encountered systems with multiple configured timezones and don't know how discord handles that.

doesn't work in the copy/paste text

  • playing around with this in the additional text area, as long as its entered as HTML encoded it works for copy and paste (but obviously not the webhook ping). It should be possible to get it to work for both.
    Test <t:1659209080:F>

I'd be happy to try and add this in myself in a couple of weeks once I'm done moving house, making it a checkbox so that it can be chosen when making the ping.

from aa-fleetpings.

ppfeufer avatar ppfeufer commented on May 28, 2024

I'm currently fiddling around with it, I had this on my list for quite some time but ran into a couple of roadblocks.

The TZ conversion page handles differently configured timezones much better than Discord does. Discord relies solely on the <t> tag, which the page doesn't.

from aa-fleetpings.

ppfeufer avatar ppfeufer commented on May 28, 2024

Ok, let's ignore systems with multiple timezones for now. Not sure how Windows handles this, but on Linux, there is a primary timezone that is taken into account here and works quite well ...

from aa-fleetpings.

ppfeufer avatar ppfeufer commented on May 28, 2024

If you like, you can test already. Let me know if it is what you had in mind

https://pypi.org/project/aa-fleetpings/2.13.0b1/

from aa-fleetpings.

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.