it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

feat(new tool): Timezone Converter

Open sharevb opened this issue 1 year ago • 16 comments

Fix #429

sharevb avatar Sep 06 '24 17:09 sharevb

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview Sep 21, 2024 0:42am

vercel[bot] avatar Sep 06 '24 17:09 vercel[bot]

Hi again @sharevb This tool looks really powerful! I have tested it a bit and it seems the Timezones Date-Time Converter works fine also with multiple TZs selected. But I have some other findings/things that I don't really understand.

  • What's the matter of "Current Timezone Offset (min)"? It displays an offset based on the TZ but I can also edit the value in the field which doesn't change any calculation? The value can also be copied via the button but why? Maybe I absolutely don't get it or maybe it needs some explanation in the description.
  • Time is displayed in 24h format (maybe based on the browser settings?). Would be cool to be able to switch manually between 24h, am/pm and mixed like in https://www.worldtimebuddy.com
  • "Country to Timezones" and "Timezones to Countries" both don't do anything if I select something there. The output doesn't change.

steffenrapp avatar Sep 12 '24 14:09 steffenrapp

Hi @steffenrapp, thanks for your reporting

  • What's the matter of "Current Timezone Offset (min)"? It displays an offset based on the TZ but I can also edit the value in the field which doesn't change any calculation? The value can also be copied via the button but why? Maybe I absolutely don't get it or maybe it needs some explanation in the description.

=> shows the selected timezone current timezeon offset (may be useful in case of DST) ; is now readonly

  • Time is displayed in 24h format (maybe based on the browser settings?). Would be cool to be able to switch manually between 24h, am/pm and mixed like in https://www.worldtimebuddy.com

=> made a switch

  • "Country to Timezones" and "Timezones to Countries" both don't do anything if I select something there. The output doesn't change.

=> should be ok now

sharevb avatar Sep 13 '24 07:09 sharevb

Hi @sharevb thank you! "Country to Timezones" and "Timezones to Countries" now work as expected. I have two more findings:

  • 24h switch is nice but only works for the output. How about the input? Or does it pick the format from the browser?
  • "Current Timezone Offset" is read-only now but there is not enough space to display the content properly due to the 24h hour switch. Maybe you can improve that? Bildschirmfoto 2024-09-13 um 15 20 10

steffenrapp avatar Sep 13 '24 13:09 steffenrapp

Hi @steffenrapp

  • 24h switch is nice but only works for the output. How about the input? Or does it pick the format from the browser?

=> should be ok now

  • "Current Timezone Offset" is read-only now but there is not enough space to display the content properly due to the 24h hour switch. Maybe you can improve that?

=> should be ok now

sharevb avatar Sep 14 '24 09:09 sharevb

Hi @sharevb 👋🏼 24h switch is fine now but the copy button for "Current Timezone Offset" is still overlapping the number. On smaller screens the switch is in a new line but the number is still not readable. Maybe remove the copy button or make the field bigger? Bildschirmfoto 2024-09-14 um 12 05 21

steffenrapp avatar Sep 14 '24 10:09 steffenrapp

Hi @steffenrapp, yes, removed copy icon as not so important (but overlap was not reproducable in chrome) or may be a bug of NaiveUI in your browser

sharevb avatar Sep 14 '24 10:09 sharevb

Hi @sharevb thank you. Okay interesting ... in Safari the field is still a lot too small and doesn't resize according to the content. I think this field was displayed properly before the 24h switch was introduced 🤷🏻‍♂️ Bildschirmfoto 2024-09-14 um 12 42 12

steffenrapp avatar Sep 14 '24 10:09 steffenrapp

Hi @steffenrapp, tried another type of layout, will see...cannot reproduce as I have no iOS

sharevb avatar Sep 14 '24 12:09 sharevb

Hi @sharevb yes now I can read the content on iOS in Safari, too 👍🏼 just the space between the two lines is a little big I think but on a bigger screen it looks fine. image

steffenrapp avatar Sep 14 '24 18:09 steffenrapp

Hi @steffenrapp, probably related to the screen side and iOs, on chrome with simulated phone mode, spacing is ok and by the way, found no property on naiveui n-space for this

sharevb avatar Sep 14 '24 19:09 sharevb

@sharevb Alright, so it looks good to me from functionality side 😃 but I can't do a code review unfortunately.

steffenrapp avatar Sep 14 '24 19:09 steffenrapp

Hi, for people interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Nov 24 '24 20:11 sharevb

@sharevb is attempting to deploy a commit to the Corentin Thomasset's Team Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 15 '24 11:12 vercel[bot]