mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-06 09:57:57 +00:00
Make sure month numbers are padded with a leading zero
Per report from Alvaro
This commit is contained in:
@ -181,7 +181,7 @@ def search(request):
|
|||||||
'hits': [{
|
'hits': [{
|
||||||
'list': h[0],
|
'list': h[0],
|
||||||
'year': h[1],
|
'year': h[1],
|
||||||
'month': h[2],
|
'month': "%02d" % h[2],
|
||||||
'msgnum': "%05d" % h[3],
|
'msgnum': "%05d" % h[3],
|
||||||
'date': h[4],
|
'date': h[4],
|
||||||
'subject': h[5],
|
'subject': h[5],
|
||||||
|
Reference in New Issue
Block a user