"Modification format date message.lib"

This commit is contained in:
Doug Le Tough 2017-11-20 07:50:02 +01:00
parent eee5123c5a
commit 30211a8e17
1 changed files with 12 additions and 10 deletions

View File

@ -37,12 +37,14 @@
# 1.2.0 13-04-2017 - Emmanuel Confrere - Evo : Journalisation du compte d execution dans l historique
# 1.2.1 29-06-2017 - Emmanuel Confrere - Ano : Fonctionnement inattendu sous Bash 3.2.25
# la fonction logname ne renvoi rien ?
# 1.2.2 20-11-2017 - Doug Le Tough - Evo : Modification du format de la date afin qu'il soit independant
# de la locale utilisee.
##----------------------------------------------------------------------------
function fct_message
{
local L_TEXT="" # Texte a afficher
local L_TIME_STAMP=`date "+%Y%m%d %X"` # Horrodatage a ajouter au texte
local L_TIME_STAMP=`date "+%Y%m%d %H:%M:%S"` # Horrodatage a ajouter au texte
local L_EXISTE_REP
local L_NB_PARAM=0 # Nb de parametre de la ligne de commande
local L_TMP