From 1636f0caa044eaccda962e18035b770396f50f0f Mon Sep 17 00:00:00 2001 From: Donald Curtis Date: Mon, 8 Jul 2013 23:35:34 -0700 Subject: [PATCH] don't assume positive timezone offset closes #859 --- package-build.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-build.el b/package-build.el index 5dd1935c..1fb831d8 100644 --- a/package-build.el +++ b/package-build.el @@ -333,7 +333,7 @@ Return a cons cell whose `car' is the root and whose `cdr' is the repository." "-d" target-dir repo)))) (apply 'pb/run-process dir "cvs" "log" (pb/expand-source-file-list dir config)) - (or (pb/find-parse-time-latest "date: \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\} \\+[0-9]\\{2\\}[0-9]\\{2\\}\\)") + (or (pb/find-parse-time-latest "date: \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\} [+-][0-9]\\{2\\}[0-9]\\{2\\}\\)") (pb/find-parse-time-latest "date: \\([0-9]\\{4\\}/[0-9]\\{2\\}/[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\}\\);") (error "No valid timestamps found!")) )))