diff --git a/samples/SeoTags.Sample/Views/Home/Index.cshtml b/samples/SeoTags.Sample/Views/Home/Index.cshtml
index 8be35d4..8ca2ea6 100644
--- a/samples/SeoTags.Sample/Views/Home/Index.cshtml
+++ b/samples/SeoTags.Sample/Views/Home/Index.cshtml
@@ -17,8 +17,8 @@
cardType: SeoTags.TwitterCardType.SummaryLargeImage)
.SetArticleInfo(
authorName: "Author Name",
- publishDate: DateTimeOffset.Parse("2024-08-17 22:00"),
- modifiedDate: DateTimeOffset.Parse("2024-08-17 23:00"),
+ publishDate: DateTimeOffset.Parse("2024-08-17T22:00+00:00"),
+ modifiedDate: DateTimeOffset.Parse("2024-08-17T23:00+00:00"),
authorTwitterId: "@MyTwitterId",
authorFacebookId: "https://facebook.com/MyUserId",
authorUrl: "https://github.com/author-profile",
diff --git a/samples/SeoTags.Sample/Views/Home/JsonLd1.cshtml b/samples/SeoTags.Sample/Views/Home/JsonLd1.cshtml
index f4d27f3..746127b 100644
--- a/samples/SeoTags.Sample/Views/Home/JsonLd1.cshtml
+++ b/samples/SeoTags.Sample/Views/Home/JsonLd1.cshtml
@@ -67,14 +67,14 @@
Price = 1500,
PriceCurrency = "USD",
Url = "https://site.com/product-url/",
- PriceValidUntil = DateTime.Now.AddDays(10)
+ PriceValidUntil = new DateTime(2024, 08, 18, 00, 00, 00, DateTimeKind.Utc)
},
new OfferInfo()
{
Price = 1499,
PriceCurrency = "USD",
Url = "https://site.com/product-url/",
- PriceValidUntil = DateTime.Now.AddDays(15)
+ PriceValidUntil = new DateTime(2024, 08, 19, 00, 00, 00, DateTimeKind.Utc)
}
}
};
diff --git a/samples/SeoTags.Sample/Views/Home/JsonLd2.cshtml b/samples/SeoTags.Sample/Views/Home/JsonLd2.cshtml
index efb60df..a4d29c5 100644
--- a/samples/SeoTags.Sample/Views/Home/JsonLd2.cshtml
+++ b/samples/SeoTags.Sample/Views/Home/JsonLd2.cshtml
@@ -100,8 +100,8 @@
Description = "Page Description",
Keywords = new[] { "SEO", "AspNetCore", "MVC", "RazorPages" },
Images = new[] { ImageInfo.ReferTo(image) },
- DatePublished = DateTimeOffset.Parse("2024-08-17 22:00"),
- DateModified = DateTimeOffset.Parse("2024-08-17 23:00"),
+ DatePublished = DateTimeOffset.Parse("2024-08-17T22:00+00:00"),
+ DateModified = DateTimeOffset.Parse("2024-08-17T23:00+00:00"),
InLanguage = "en-US",
Author = author.Id, //or PersonInfo.ReferTo(author.Id) or PersonInfo.ReferTo(author)
WebSite = website.Id, //or WebSiteInfo.ReferTo(website.Id) or WebSiteInfo.ReferTo(website)
diff --git a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd1.verified.html b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd1.verified.html
index ce7673f..5efaf7e 100644
--- a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd1.verified.html
+++ b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd1.verified.html
@@ -29,7 +29,7 @@
-
+
diff --git a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd2.verified.html b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd2.verified.html
index 0e0f80c..b981456 100644
--- a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd2.verified.html
+++ b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestJsonLd2.verified.html
@@ -29,7 +29,7 @@
-
+
diff --git a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestSimple.verified.html b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestSimple.verified.html
index faee42f..deea828 100644
--- a/test/SeoTags.Tests/_snapshots/VerifyExamples.TestSimple.verified.html
+++ b/test/SeoTags.Tests/_snapshots/VerifyExamples.TestSimple.verified.html
@@ -55,8 +55,8 @@
-
-
+
+