New "Server time" box in status bar

kalvaro's profile image kalvaro posted 6 years ago in General Permalink

You implemented UTC time in the status bar in r5060 after a user request:

Before

It's just been replaced with a new item labelled "Server time":

After

It doesn't seem to take server clock drift into account so I presume it's just my PC's clock displayed in server's local time. Am I right? (I don't have a server in another time zone in order to figure out it myself.)

Would it be possible to remove the seconds? It's quite distracting and I doubt they add valuable info.

1 attachment(s):
  • Before
ansgar's profile image ansgar posted 6 years ago Permalink

The user request ended with some comment like "not very usefull" I recall, so I thought I add something more useful. The new displayed server time is what SELECT NOW() says, but upwards counting is done on the client side, so there is no need to fire that SELECT NOW() every minute.

I wanted to remove the seconds already, but could not figure out some easy way to do that. I'm just having a second look now.

Code modification/commit 0a69d02 from Ansgar Becker <anse@heidisql.com>, 6 years ago, revision 9.5.0.5400
Shorten server time, so it doesn't tick every second. See https://www.heidisql.com/forum.php?t=26186#p26195

Please login to leave a reply, or register at first.