Skip to content

Commit

Permalink
Name weekday of photo.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaj committed Jul 29, 2024
1 parent e22b1fe commit 11143aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/details.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Photo details</h1>
else {<p>This photo is not public.</p>}
}
@if let Some(g) = photo.grade {<p>Grade: @g</p>}
@if let Some(d) = photo.date {<p>Time: @d.format("%F %T")</p>}
@if let Some(d) = photo.date {<p>Time: @d.format("%A %F %T")</p>}
@if !photo.people.is_empty() {
<p>People: @for p in &photo.people {<a href="/person/@p.slug">@p.person_name</a>, }</p>}
@if !photo.tags.is_empty() {
Expand Down

0 comments on commit 11143aa

Please sign in to comment.