newt: always prefix single digit days with 0 in 'h' view
This commit is contained in:
parent
a4d818eedb
commit
ea3c192bb5
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ fn fmtd{
|
|||
if(! ~ $date(1) [0-9]*)
|
||||
date=`{nshift $date}
|
||||
da=$date(1)
|
||||
if(~ $da [0-9])
|
||||
da=0^$da
|
||||
switch($date(2)){
|
||||
case Jan; mo=1
|
||||
case Feb; mo=2
|
||||
|
|
Loading…
Reference in a new issue