Open kookster opened 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:
format
<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
local_time_ago
Yeah, we should probably use the actual transcript.updated_at for this. But additionally:
transcript.updated_at
touch: true
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: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