Timezone Bug in Visual SourceSafe

I checked in a file to Visual SourceSafe at 3:49pm.  My colleague applied a label to our files at 4:29pm.  Now wouldn't you think that my changes would be included in the label.  Well, you would be wrong if you think that VSS works in the obvious way.  I work in Atlanta using EST and my colleague was working in Mineapolis using CST.  Apparently VSS is totally clueless about timezones, and it does not use GMT internally.  Instead, it recorded my check-in at 3:49pm, and my colleague's label at 3:29pm, which was his local time.  That's right, even though my changes occurred before his label, his label was recorded before my changes!  I checked the contents of the labeled file just to make sure it was not a discrepancy of history being displayed, and it was not.  The labeled file clearly did not contain my changes that were checked in prior to the label.  Now I have to tell my team of consultants to always set their local PC time to EST before working with VSS!

Published Wednesday, December 10, 2003 9:02 AM by PaulWilson

Comments

# re: Timezone Bug in Visual SourceSafe

Wow!!! Very interesting scenario!

Wednesday, December 10, 2003 5:04 PM by Sreedhar Koganti

# re: Timezone Bug in Visual SourceSafe

maybe it follows 'swatch time'.. :-)

Wednesday, December 10, 2003 5:15 PM by SBC

# re: Timezone Bug in Visual SourceSafe

yup, known bug. It's actually a design bug, and microsoft's suggested solution is to purchase a third part product (Source Offsite) to fix this.
My suggested fix is to use a different SCC solution, but that's really a tough sell sometimes.

http://support.microsoft.com/default.aspx?scid=kb;en-us;248240&Product=vss

http://support.microsoft.com/default.aspx?scid=kb;EN-US;150643

Saturday, December 13, 2003 11:05 PM by Jerry Dennany

# re: Timezone Bug in Visual SourceSafe



Hi,

Good work, well done

Monday, December 15, 2003 3:07 PM by Ted

# re: Timezone Bug in Visual SourceSafe

I first came accross this when doing Y2K work back in 1999. Some of our developers were working with the clock set forward a couple of years.

It caused more problems than the Y2K bug did!

Wednesday, December 17, 2003 4:43 AM by Martin

# re: Timezone Bug in Visual SourceSafe

VSS is totally clueless about a number of things!

It's also very good about not letting others get updated files if an error occurs during the status file update. Checkout of the file again fixes this one though.

Wednesday, December 17, 2003 1:20 PM by David Yack

Leave a Comment

(required) 
(required) 
(optional)
(required)