Change the default dateFomat on Tracker settings panel and then check the following trackers in the preview mode. Only the one fit dateFomat settings will get rendered.
searchType: tag
searchTarget: weight
folder: diary
startDate: 2021-01-01
endDate: 2021-01-05
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
startDate: 1-20210101
endDate: 5-20210105
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
startDate: 2021-01-01-Friday
endDate: 2021-01-05-Tuesday
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
startDate: 2021-01-01_Fri
endDate: 2021-01-05_Tue
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
startDate: 01-01-2021
endDate: 05-01-2021
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
startDate: 01.01.2021
endDate: 05.01.2021
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
dateFormat: iso-8601
startDate: 2021-01-01T14:53:25+00:00
endDate: 2021-01-05T14:53:25+00:00
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
The string provided in dateFormatPrefix and dateFormatSuffix will be removed before parsing dates.
searchType: tag
searchTarget: weight
folder: diary
dateFormatPrefix: D-
startDate: D-20210101
endDate: D-20210105
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
searchType: tag
searchTarget: weight
folder: diary
dateFormatSuffix: -D
startDate: 20210101-D
endDate: 20210105-D
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
The reference date of the relative date input is 'today' (The current date of your computer), So 0d ==> today -1d ==> yesterday -1w ==> last week -1m ==> last month -1y ==> last year
searchType: tag
searchTarget: weight
folder: diary
startDate: -1m
endDate: 0d
line:
title: Weight Log
yAxisLabel: Weight
yAxisUnit: kg
lineColor: yellow
Please also check those search targets in markdown files under folder 'diary'.