Change default date format to be RFC822 compliant

This commit is contained in:
swagg boi 2023-04-24 12:46:10 -04:00
parent 8cfd13d821
commit a3b76dabb2
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ has 'pg';
has per_page => 5;
has date_format => 'Dy Mon FMDD HH24:MI TZ YYYY';
has date_format => 'Dy, FMDD Mon YYYY HH24:MI:SS TZ';
sub by_page_for($self, $thread_id, $this_page = 1) {
my $date_format = $self->date_format;

View file

@ -6,7 +6,7 @@ has 'pg';
has per_page => 5;
has date_format => 'Dy Mon FMDD HH24:MI TZ YYYY';
has date_format => 'Dy, FMDD Mon YYYY HH24:MI:SS TZ';
sub create($self, $author, $title, $body, $hidden = 0, $flagged = 0) {
my @data = ($author, $title, $body, $hidden, $flagged);