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?
Content updated: Content updated: Content updated:
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?
The
timefmtuses the standard C function strftime(), so "%k" drops the leading zero: