Issue #2795601 by jhedstrom, mpdonadio: Convert \Drupal\Tests\system\Functional\Common\FormatDateTest mostly to a kernel test (cherry picked from commit 5c4a8dfb)