Skip to content

Commit

Permalink
Add time
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-hedley committed Aug 17, 2023
1 parent 2daff4e commit 7688c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/data/talks.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"id": 5,
"name": "Blazor Interaction",
"date": "2023-09-06",
"time": "6pm - 8pm",
"location": "TUSPark, Newcastle",
"description": "Building a clone of Try.NET (.NET Interactive) in Blazor WASM",
"image": "images/blazorinteractive.png",
Expand Down
3 changes: 3 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ <h1>🎙️ Talks</h1>
<thead>
<tr>
<th>Date</th>
<th>Time</th>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="talk in talks">
<td>{{talk.date | toDate | date:'mediumDate'}}</td>
<td>{{talk.time}}</td>
<td>{{talk.name}}</td>
</tr>
</tbody>
Expand Down Expand Up @@ -139,6 +141,7 @@ <h3>{{talk.name}}</h3>
</div>
<div class="card-footer text-muted">
🗓️ {{talk.date | toDate | date:'mediumDate'}}
<span ng-if="talk.time.length > 0">🕰️ {{talk.time}}</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 7688c69

Please sign in to comment.