Confusing summary

desautelsj's Avatar

desautelsj

17 Nov, 2016 08:50 PM

When I look at the "history" of all my builds, there is a short sentence telling me how long ago the build completed and how long it took to complete. For example: "6 minutes ago in 2 min 2 sec". This makes sense.

However, if I look at the history shortly after a build completes, I see "in a few seconds in 1 min 16 sec" which doesn't really makes sense. I'm guessing the intention is to say something like "a few seconds ago in 1 min 16 sec".

I know this is just cosmetic and probably not very high on your priority list, but I thought I would mention it anyway.

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Nov, 2016 03:14 AM

    Feodor Fitsner's Avatar

    Looks like the date in the future - may be because of time unsync between AppVeyor servers and your machine.

  2. 2 Posted by desautelsj on 13 Feb, 2017 04:44 AM

    desautelsj's Avatar

    I was under the impression that this cosmetic issue had been solved but I noticed it again today:

  3. 3 Posted by Ilya Finkelshte... on 14 Feb, 2017 05:29 AM

    Ilya Finkelshteyn's Avatar

    As Feodor said, it reflects time unsync between AppVeyor Servers and your machine (it is unrelated to time zone). You can do this simple experiment:

    • Sync your computer with Internet time source (on Windows it is Control panel > Date and time > Internet time > Change settings > Update now) to ensure that you are in sync.
    • Run build
    • Right after build finished, you should see expected picture.
    • Immediately run the following: $current = get-date; Set-Date -Date $current.AddSeconds(-60)
    • Refresh few times and you will see this issue.

    Theoretically AppVeyor servers and not your machine could be out of sync, but this is not very probable as they are running on Azure.

    Ilya.

  4. 4 Posted by desautelsj on 19 Feb, 2017 04:25 AM

    desautelsj's Avatar

    My computer (windows 10) is already configured to automatically set the time. I think it's simply that there's a small difference in time between my machine and your servers. I know it's just a cosmetic issue but I think your code that displays how much since the build completed should take a small amount of "drift" into account in order to display something that makes sense.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac