<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Story;

use AuxCF\Entities\Field\DatetimeFieldEntity;
use AuxCF\Entities\Field\Enum\DateFieldFormatEnum;

class StorySourceOriginalDateFieldEntity extends DatetimeFieldEntity
{
  public static string $name = 'aux_story_source_original_date';
  public static string $nickname = 'original_date';
  public static string $defaultKey = 'publish_date';

  protected string $label = 'Original Publication Date';
  protected string $instructions = 'If this post has been signifigantly changed, add add the original publication date here.
    Then change the WordPress Publish Date to show the new date for this post. <br/> (To change the WP Publish Date: click
    on the date in top-right of the window. The "Publish" label is under "Status", a few lines under the excerpt and feature image.)';
  protected DateFieldFormatEnum $returnFormat = DateFieldFormatEnum::FullAbbr;
  protected DateFieldFormatEnum $displayFormat = DateFieldFormatEnum::MDY;
}
