diff --git a/code/forms/gridfield/GridFieldBlogPostState.php b/code/forms/gridfield/GridFieldBlogPostState.php index c9a4900..3d01ce4 100644 --- a/code/forms/gridfield/GridFieldBlogPostState.php +++ b/code/forms/gridfield/GridFieldBlogPostState.php @@ -34,7 +34,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState ' Saved as Draft on {date}', 'State for when a post is saved.', array( - 'date' => $lastEdited->Nice(), + 'date' => $lastEdited->FormatFromSettings(), ) ); } @@ -50,7 +50,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState ' Publish at {date}', 'State for when a post is published.', array( - 'date' => $publishDate->Nice(), + 'date' => $publishDate->FormatFromSettings(), ) ) . $modifiedLabel; } @@ -60,7 +60,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState ' Published on {date}', 'State for when a post is published.', array( - 'date' => $publishDate->Nice(), + 'date' => $publishDate->FormatFromSettings(), ) ) . $modifiedLabel; }