[Pkg-sks-commit] r77 - sks/trunk/sks/debian/patches

chrism at alioth.debian.org chrism at alioth.debian.org
Thu Jun 19 14:51:33 UTC 2008


Author: chrism
Date: 2008-06-19 14:51:32 +0000 (Thu, 19 Jun 2008)
New Revision: 77

Added:
   sks/trunk/sks/debian/patches/507_iso_dates
Log:
[project @ 78]
Make dates proper iso syntax

Original author: weasel
Date: 2003-12-09 14:50:57.724637+00:00

Added: sks/trunk/sks/debian/patches/507_iso_dates
===================================================================
--- sks/trunk/sks/debian/patches/507_iso_dates	                        (rev 0)
+++ sks/trunk/sks/debian/patches/507_iso_dates	2008-06-19 14:51:32 UTC (rev 77)
@@ -0,0 +1,21 @@
+diff -ruN sks-1.0.6-old/htmlTemplates.ml sks-1.0.6/htmlTemplates.ml
+--- sks-1.0.6-old/htmlTemplates.ml	Tue Dec  9 15:43:33 2003
++++ sks-1.0.6/htmlTemplates.ml	Tue Dec  9 15:46:14 2003
+@@ -60,7 +60,7 @@
+ let keyinfo pki ~keyid ~link ~userids = 
+   let tm = gmtime (Int64.to_float pki.pk_ctime) in
+   let base = 
+-    sprintf "%2d %4d <a href=\"%s\">%8s</a> %4d/%02d%02d "
++    sprintf "%2d %4d <a href=\"%s\">%8s</a> %4d-%02d-%02d "
+       pki.pk_version pki.pk_keylen link keyid 
+       (1900 + tm.tm_year) (tm.tm_mon + 1) tm.tm_mday 
+   in
+@@ -81,7 +81,7 @@
+   let tm = gmtime (Int64.to_float pki.pk_ctime) in
+   let algo = keyalgorithm_text pki in
+   let base = 
+-    sprintf "pub  %4d%s/<a href=\"%s\">%8s</a> %4d/%02d/%02d%s "
++    sprintf "pub  %4d%s/<a href=\"%s\">%8s</a> %4d-%02d-%02d%s "
+       pki.pk_keylen algo link keyid 
+       (1900 + tm.tm_year) 
+       (tm.tm_mon + 1) 




More information about the Pkg-sks-commit mailing list