Tweaked the display format for the Docker build timestamp.

master
Pacman Ghost 1 year ago
parent 632e0e7e6d
commit 21d7aa2b68
  1. 2
      vasl_templates/webapp/main.py

@ -283,7 +283,7 @@ def get_program_info():
params[ "DOCKER_IMAGE_NAME" ] = os.environ.get( "DOCKER_IMAGE_NAME" )
params[ "DOCKER_IMAGE_TIMESTAMP" ] = datetime.strftime(
parse_timestamp( os.environ.get( "DOCKER_IMAGE_TIMESTAMP" ) ),
"%H:%M %d %b %Y"
"%d %b %Y %H:%M"
)
params[ "DOCKER_CONTAINER_NAME" ] = os.environ.get( "DOCKER_CONTAINER_NAME" )
with open( "/proc/self/cgroup", "r", encoding="utf-8" ) as fp:

Loading…
Cancel
Save