8abb68e9a33bd899e22f1e2fa4159f1e1be970d8
galt
  Sat Mar 26 16:55:29 2011 -0700
fixed bug
diff --git src/lib/udc.c src/lib/udc.c
index 23ed308..4e30c78 100644
--- src/lib/udc.c
+++ src/lib/udc.c
@@ -412,31 +412,31 @@
 // fetchData method: See udcDataViaHttpOrFtp above.
 
 boolean udcInfoViaFtp(char *url, struct udcRemoteFileInfo *retInfo)
 /* Gets size and last modified time of FTP URL */
 {
 verbose(2, "checking ftp remote info on %s\n", url);
 long long size = 0;
 time_t t, tUtc;
 struct tm *tm = NULL;
 // TODO: would be nice to add int *retCtrlSocket to netGetFtpInfo so we can stash 
 // in retInfo->connInfo and keep socket open.
 boolean ok = netGetFtpInfo(url, &size, &tUtc);
 if (!ok)
     return FALSE;
 // Convert UTC to localtime
-tm = gmtime(&tUtc);
+tm = localtime(&tUtc);
 t = mktimeFromUtc(tm);
 if (t == -1)
     { /* Handle error */;
     errAbort("mktimeFromUtc failed while converting FTP UTC last-modified time %ld to local time", (long) tUtc);
     }
 retInfo->size = size;
 retInfo->updateTime = t;
 return TRUE;
 }
 
 
 /********* Non-protocol-specific bits **********/
 
 
 static char *fileNameInCacheDir(struct udcFile *file, char *fileName)