Bug 40453

Summary: Не работают переменные для вставки текущей даты для указания каталога target_dir.
Product: Branch p9 Reporter: Maxim <mnm1979>
Component: motionAssignee: Leontiy Volodin <lvol>
Status: NEW --- QA Contact: qa-p9 <qa-p9>
Severity: normal    
Priority: P5    
Version: не указана   
Hardware: x86_64   
OS: Linux   
Attachments:
Description Flags
Вид созданных каталогов с % вместо даты. none

Description Maxim 2021-07-11 21:00:11 MSK
Created attachment 9498 [details]
Вид созданных каталогов с % вместо даты.

Здравствуйте!

Не работают переменные для вставки текущей даты для указания каталога target_dir.
При указании переменной с %, она так и создается в названии каталога. Даты не создаются.

############################################################
# Target Directories and filenames For Images And Films
# For the options snapshot_, picture_, movie_ and timelapse_filename
# you can use conversion specifiers
# %Y = year, %m = month, %d = date,
# %H = hour, %M = minute, %S = second,
# %v = event, %q = frame number, %t = camera id number,
# %D = changed pixels, %N = noise level,
# %i and %J = width and height of motion area,
# %K and %L = X and Y coordinates of motion center
# %C = value defined by text_event
# Quotation marks round string are allowed.
############################################################

# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)

target_dir /home/motion/%m-%d-%Y/