raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.37k stars 3.07k forks source link

[World Clock] Half-hour offsets are not included in current time #14554

Closed dnnsmnstrr closed 1 month ago

dnnsmnstrr commented 1 month ago

Extension

https://www.raycast.com/koinzhang/world-clock

Raycast Version

1.83.0

macOS Version

14.5

Description

I am working with a colleague in India, whose time zone offset is 5h30m. Unfortunately, this extension seems to ignore the half hours offsets which some regions in the world seem to have.

Screen Shot 2024-09-19 at 15 12 15 PM

Steps To Reproduce

  1. Run the Query World Time command
  2. Search asia/kolkata
  3. The UTC time shown includes the correct +5:30 offset
  4. The calculated current time does not show the correct time (In the image below it should be 18:45)

Screen Shot 2024-09-19 at 15 15 10 PM

Current Behaviour

Only the hours offset is applied to the current time

Expected Behaviour

Where applicable, the minute offset is included in the calculation and the correct time is displayed

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @koinzhang you might want to have a look.

💡 Author and Contributors commands The author and contributors of `koinzhang/world-clock` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.