mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +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': [{
|
||||
'list': h[0],
|
||||
'year': h[1],
|
||||
'month': h[2],
|
||||
'month': "%02d" % h[2],
|
||||
'msgnum': "%05d" % h[3],
|
||||
'date': h[4],
|
||||
'subject': h[5],
|
||||
|
Reference in New Issue
Block a user