. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; /** * CHANGE_DATE := {Size=10:11} * * The date that this data was changed. */ class ChangeDate extends DateValueToday { protected const array SUBTAGS = [ 'TIME' => '1:1', ]; /** * Escape @ signs in a GEDCOM export. * This value should not include calendar escapes, so override special logic for date fields. * * @param string $value * * @return string */ public function escape(string $value): string { return strtr($value, ['@' => '@@']); } }