Skip to content

Commit a290f61

Browse files
committed
cleanup(examples): remove date
Since now it can be autogenerated Signed-off-by: Gabriel Cozma <[email protected]>
1 parent 2171424 commit a290f61

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,14 @@ const atomFeed = new Atom({
5353
5454
},
5555
],
56-
updated: new Date("2024-10-19T15:12:56Z"),
5756
id: "https://example.com/atom-feed",
5857
});
5958

6059
atomFeed.addItem({
6160
title: "First Atom Item",
6261
link: "http://example.com/atom1",
6362
id: "1",
64-
updated: new Date("2024-10-19T15:12:56Z"),
63+
updated: new Date(),
6564
summary: "Summary for Atom item 1",
6665
content: {
6766
body: "Content for Atom item 1",
@@ -81,7 +80,6 @@ const rssFeed = new Rss({
8180
title: "RSS Feed Example",
8281
description: "A simple RSS feed example",
8382
link: "http://example.com/rss-feed",
84-
updated: new Date("2024-10-19T15:12:56Z"),
8583
id: "http://example.com/rss-feed",
8684
authors: [
8785
{
@@ -122,7 +120,6 @@ const jsonFeed = new Json({
122120
123121
},
124122
],
125-
updated: new Date("2024-10-19T15:12:56Z"),
126123
});
127124

128125
jsonFeed.addItem({

0 commit comments

Comments
 (0)