diff --git a/Web/lib/MJB/Web/Controller/Dashboard.pm b/Web/lib/MJB/Web/Controller/Dashboard.pm index 4aa25e4..843e8e2 100644 --- a/Web/lib/MJB/Web/Controller/Dashboard.pm +++ b/Web/lib/MJB/Web/Controller/Dashboard.pm @@ -41,7 +41,8 @@ sub blog_posts ( $c ) { # This route loads the editor for making a new blog post. #== sub blog_post ( $c ) { - $c->stash->{form}->{date} = DateTime->now->strftime( "%F %H:%M" ); + # Set the date to now for new posts. + $c->stash->{form}->{date} = DateTime->now(time_zone => 'America/Los_Angeles')->strftime("%F %H:%M"); } #==