Giter Club home page Giter Club logo

Comments (8)

md-arif-shaikh avatar md-arif-shaikh commented on July 20, 2024

Hi @alexmurray, thanks for this. Just to understand it more clearly, do you want to use offsets in the form of UTC+-HH:MM? Currently, it will work if you give UTC+-HHMM or in fact just HHMM as your zone input. Let me know if you still think I should include UTC+-HH:MM format. To be honest it would be trivial to support this but just wanted to check what you mean before I do so.

Also, would you prefer an option to choose which format to use?

from tzc.

alexmurray avatar alexmurray commented on July 20, 2024

I meant actually just having UTC in the list of supported / known timezones - so that say you could convert to/from a particular timezone to/from UTC.

from tzc.

md-arif-shaikh avatar md-arif-shaikh commented on July 20, 2024

Ah, I see. I can definitely do that. FYI, you can also do this by setting the tzc-favourite-time-zones variable. Like

(setq tzc-favourite-time-zones '("UTC+0000" "Asia/Kolkata" "America/New_York"))

from tzc.

md-arif-shaikh avatar md-arif-shaikh commented on July 20, 2024

Hi @alexmurray, could you let me if the last commit fixed the issue for you?

from tzc.

md-arif-shaikh avatar md-arif-shaikh commented on July 20, 2024

I am closing this assuming it is no longer an issue. Feel free to reopen if it does not work for you.

from tzc.

alexmurray avatar alexmurray commented on July 20, 2024

Apologies I haven't had a chance to check on this, will let you know. Thanks again for the quick response.

from tzc.

md-arif-shaikh avatar md-arif-shaikh commented on July 20, 2024

Hi @alexmurray, I forgot to mention that there has been a change in the way you can set your preferred zones, it is now an alist where each element is of the form ('zone-info' 'label'). For example, you can add UTC by setting

(setq tzc-favourite-time-zones-alist '(("UTC+0000" "UTC") ("Asia/Kolkata" "Kolkata"))

or simply

(setq tzc-favourite-time-zones-alist '(("+0000" "UTC") ("Asia/Kolkata" "Kolkata"))

from tzc.

alexmurray avatar alexmurray commented on July 20, 2024

Thanks - yep this works great.

from tzc.

Related Issues (6)

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.