There is no such deduction allowed for 2019 returns. The $300 limit on charitable contributions by individuals using the standard deduction is allowable only for 2020 returns (unless Congress extends it).
The length of time that an asset is owned and that generally determines long- or short-term capital gain treatment.