]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/R/getrpkg.R
switch DB date stamp format to Sys.time()
[cran2deb.git] / trunk / R / getrpkg.R
index 5273a1fc601124da080b5dfe00c6061d06e905c5..f60329af58e7aca9529a9217d1b652ff7e103aeb 100644 (file)
@@ -16,7 +16,7 @@ download_pkg <- function(dir, pkgname) {
 
     # record some basic information
     pkg <- pairlist()
-    pkg$date_stamp = format(Sys.time(),'%a, %d %b %Y %H:%M:%S %z')
+    pkg$date_stamp = Sys.time()
     pkg$name = pkgname
     pkg$repoURL = available[pkgname,'Repository']
     pkg$repo = repourl_as_debian(pkg$repoURL)