Skip to content

Commit 7618847

Browse files
committed
Updated example
1 parent 448611a commit 7618847

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

iommi/experimental/calendar.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,11 @@ class Calendar(Part, Tag):
157157
from iommi.struct import Struct
158158
159159
rows = [
160-
Struct(name='Black Sabbath', artist='Black Sabbath', release=date(1970, 2, 13)),
161-
Struct(name='Paranoid', artist='Black Sabbath', release=date(1970, 9, 18)),
162-
Struct(name='Master Of Reality', artist='Black Sabbath', release=date(1971, 7, 21)),
160+
Struct(name='Sabotage', artist='Black Sabbath', release=date(1975, 7, 28)),
161+
Struct(name='Born Again', artist='Black Sabbath', release=date(1983, 8, 7)),
162+
Struct(name='Captured Live!', artist='Black Sabbath', release=date(1983, 8, 7)),
163+
Struct(name='Holy Diver', artist='Dio', release=date(1983, 5, 25)),
164+
Struct(name='Bark At The Moon', artist='Ozzy Osbourne', release=date(1983, 11, 15)),
163165
]
164166
165167
calendar = Calendar(
@@ -171,8 +173,8 @@ class Calendar(Part, Tag):
171173
f' title="{event.name}">'
172174
),
173175
event__tag=None,
174-
year=1970,
175-
month=9,
176+
year=1983,
177+
month=8,
176178
)
177179
178180
# @test

0 commit comments

Comments
 (0)