Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time not converting #46

Open
vaidab opened this issue Aug 7, 2021 · 4 comments
Open

Time not converting #46

vaidab opened this issue Aug 7, 2021 · 4 comments

Comments

@vaidab
Copy link

vaidab commented Aug 7, 2021

If you have a problem with the workflow please answer the following questions.

Are you using the latest version?
Yes (in the recording the version is 4.3.4 but I've also tried with 4.5.

Describe the bug
I'm using the time format: j F Y g:i a and the timezone: Bucharest (3 hours difference from UTC).
"time 3pm" shows the date + "3:00 pm" ; under it there's another format showing that it's in 3 hours.
"time 3pm utc" shows the same date ("3:00 pm") yet under it it shows 6 hours.
"time utc" wrongly displays my current timezone's time (not the UTC time).

To Reproduce

  1. Set your computer timezone to GMT+3
  2. Open Alfred
  3. Type 'time 3pm'
  4. It shows '7 August 2021 3:00 pm', under it shows '7 hours, 36 seconds' (if it's 8 am)
  5. Type 'time 3pm utc'
  6. It shows '7 August 2021 3:00 pm' (instead of '7 August 2021 6:00 pm'), under it shows '10 hours'

Here is a video of this happening: https://www.screencast.com/t/3H9M5xSPXEO4

Expected behavior
At 6. it should show '7 August 2021 6:00 pm'

Debug Output
Debug

Please enable debug (see image) open Alfred and type the conversion that it's not working, you will see that the debug window is populated with a lot of text, please paste that text in here.

System information:

  • OS: Mac OS 11.5
  • Alfred Version 4.5
  • PHP Version - To find out the version open the Terminal.app and type: php -v 7.3

Additional context
Add any other context about the problem here.
I was told here to submit using template.

Screenshot 2021-08-07 at 08 03 36

Screenshot 2021-08-07 at 08 04 00

@biati-digital
Copy link
Owner

Hi @vaidab, you can see in the readme the available options for time and UTC it's not one of them.

@vaidab
Copy link
Author

vaidab commented Aug 7, 2021

Thank you for your response. Can I strongly suggest adding UTC conversion? Most crypto projects are listed in UTC and a quick conversion from UTC to local timezone would be a great feature.

@biati-digital
Copy link
Owner

Sure, i'll mark this as a feature request and will do my best to include it in the next update.

@gap777
Copy link

gap777 commented Oct 20, 2023

I also need to convert times between my local time (EST) and UTC often; I would appreciate this being a feature of this Alfred workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants