SexyMap

SexyMap

31M Downloads

Request/Issue: Add seconds to the clock

Speaker1264 opened this issue ยท 6 comments

commented

Describe the problem

I've been using this weakaura that changes the clock's time to server time (which is more accurate than the default game time) and also allows you to enable seconds, however when SexyMap is enabled the seconds get cut off when the hour is double digits. Is there a way to fix this issue or possibly even add this functionality directly into SexyMap? Here is the weakaura: https://wago.io/IR5WCg8Wl

What steps will reproduce the problem?

Enable this weakaura: https://wago.io/IR5WCg8Wl

What version of the addon are you using? (Stating 'latest' is not useful)

v3-bcc

commented

You can already change what time is displayed. Click the clock to open the Blizz clock options and you should see a checkbox to swap between local and server time.

I have no plan to add seconds to the main clock, that's just bad design tbh. I could add it to the mouseover tooltip though if you need to see the seconds at a split moment in time?

You should also attach screenshots to demonstrate your issue.

commented

Hopefully this is useful to you. In the second screenshot you can see where the seconds gets cut off.

Untitled2

Untitled

commented

I see, thanks. The width is coded to wrap around the biggest number in the XX:XX format with some extra padding for good measure. I'm probably not going to change that.

In future SexyMap will no longer "recycle" the Blizzard clock and will just create it's own clock at which point this WeakAura will stop working unless it's adapted specifically for SexyMap.
I might consider a seconds option then, but for now, like I said earlier, I can add a full clock with seconds in the mouseover tooltip if that's of interest to you?

commented

Yeah, that would be a nice addition if it isn't too much trouble, thank you

commented

@Speaker1264 I reviewed this, and have concluded that it does not seem possible to accurately know the seconds of the server. You could impose your own minutes & seconds on to the time, but you'd end up with a slightly different display to the in game clock, which would probably cause confusion.

The author of the WeakAura probably also realized this, as he deleted his WA. His original code did not compensate for the fact you might be in DST, and the server isn't, or vice versa.

The only thing I can offer you is giving you the seconds of the local time, not the server time. If this is not useful to you, I will close this.

commented

No response, closing.