From e9eecda4157581327a7eb4620cf0a25acbaf39a0 Mon Sep 17 00:00:00 2001 From: mandrew Date: Tue, 2 Feb 2010 22:09:18 +0000 Subject: [PATCH] BUGFIX updated google site map with correct SSDatetime function name --- code/GoogleSitemap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index cbd5fdf..cfda881 100755 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -62,9 +62,9 @@ class GoogleSitemap extends Controller { // The one field that isn't easy to deal with in the template is // Change frequency, so we set that here. $properties = $page->toMap(); - $created = new SS_Datetime(); + $created = new SSDatetime(); $created->value = $properties['Created']; - $now = new SS_Datetime(); + $now = new SSDatetime(); $now->value = date('Y-m-d H:i:s'); $versions = $properties['Version']; $timediff = $now->format('U') - $created->format('U');