PRX / feeder.prx.org

Dovetail podcast content management system
https://podcasts.dovetail.prx.org
GNU Affero General Public License v3.0
5 stars 0 forks source link

Transcript last updated at #1128

Open kookster opened 1 week ago

kookster commented 1 week ago

Noting that the last updated at on the episode transcript page does not reflect the updated_at time on the transcript entry in the db.

When I updated the format for a transcript, the last saved time did not updated - looks like it is using the episode updated_at, not the transcript:

<p class="status-text mt-2 mb-0 text-end"><strong><%= t(".updated_at_hint") %>:</strong> <%= l(episode.updated_at) %></p>

https://github.com/PRX/feeder.prx.org/blob/main/app/views/episode_transcripts/_form_status.html.erb#L15

Also the episode saved at date is an abbreviated format that differs from this page. These should be consistent, on the episode it uses local_time_ago to format the date: https://github.com/PRX/feeder.prx.org/blob/07e3b468d36e8d6a6e49f3c65d8bb00eb34039c0/app/views/episodes/_form_status.html.erb#L56

cavis commented 1 week ago

Yeah, we should probably use the actual transcript.updated_at for this. But additionally: