|
|
@ -1214,7 +1214,7 @@ macro( tde_curdatetime result )
|
|
|
|
elseif( TDE_SCM_MODULE_DATETIME )
|
|
|
|
elseif( TDE_SCM_MODULE_DATETIME )
|
|
|
|
set( ${result} ${TDE_SCM_MODULE_DATETIME} )
|
|
|
|
set( ${result} ${TDE_SCM_MODULE_DATETIME} )
|
|
|
|
else( )
|
|
|
|
else( )
|
|
|
|
tde_execute_process( COMMAND "date" "+%m/%d/%Y %H:%M:%S" OUTPUT_VARIABLE ${result} )
|
|
|
|
tde_execute_process( COMMAND "date" "-u" "+%m/%d/%Y %H:%M:%S" OUTPUT_VARIABLE ${result} )
|
|
|
|
string( REGEX REPLACE "(..)/(..)/(....) (........).*" "\\1/\\2/\\3 \\4" ${result} ${${result}} )
|
|
|
|
string( REGEX REPLACE "(..)/(..)/(....) (........).*" "\\1/\\2/\\3 \\4" ${result} ${${result}} )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
endmacro( tde_curdatetime )
|
|
|
|
endmacro( tde_curdatetime )
|
|
|
|