Use "UNIX_TIME" as the main variable

This commit is contained in:
Ivan Kravets
2023-07-11 15:20:57 +03:00
parent be4d016f61
commit abda3edad6

View File

@ -72,8 +72,7 @@ DEFAULT_ENV_OPTIONS = dict(
variables=clivars,
# Propagating External Environment
ENV=os.environ,
TIMESTAMP=int(time()),
UNIX_TIME="$TIMESTAMP", # deprecated
UNIX_TIME=int(time()),
BUILD_DIR=os.path.join("$PROJECT_BUILD_DIR", "$PIOENV"),
BUILD_SRC_DIR=os.path.join("$BUILD_DIR", "src"),
BUILD_TEST_DIR=os.path.join("$BUILD_DIR", "test"),