Indexer: Support reading date from .deb archives

This commit is contained in:
Yorhel 2016-11-20 09:01:33 +01:00
parent a1e5a2d80d
commit ecb1a9e25b
8 changed files with 78 additions and 23 deletions

View file

@ -113,7 +113,7 @@ pub fn sync(pg: &postgres::GenericConnection, sys: i32, mirror: &str, repo: &str
cat: repo,
pkg: &m.name,
ver: &m.version,
date: &m.date,
date: pkg::Date::Known(&m.date),
arch: m.arch.as_ref().map(|e| &e[..]),
file: open::Path{
path: &p,