Reputation: 4971
This Server Side Include fragment:
<!--#config timefmt="%a, %d%b'%y %I:%M%P %Z" -->
Content updated: <!--#flastmod virtual='../pages/$JLC_CONTENT_FILE' -->
produces:
How can one suppress the leading zero in the hour?
Upvotes: 0
Views: 44
Reputation: 4971
The timefmt
uses the standard C function strftime(), so "%k" drops the leading zero:
<!--#config timefmt="%a, %e%b'%y %k:%M%P %Z" -->
Upvotes: 0