File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ <h2 class="text-xl font-semibold mb-1 line-clamp-1">{{ episode.title }}</h2>
789789                  </ div > 
790790                  {% if episode.history %}
791791                    < p  class ="text-xs text-gray-400 mt-2 px-4 "> 
792-                       Last watched: {{ episode.history.0.end_date|date_tracker_format }}
792+                       Last watched: {{ episode.history.0.end_date|date_tracker_format|default_if_none:"No date provided"  }}
793793                      {% if episode.history|length >  1 %}• Watched {{ episode.history|length }} times{% endif %}
794794                    </ p > 
795795                  {% endif %}
Original file line number Diff line number Diff line change @@ -573,9 +573,9 @@ <h4 class="font-medium">
573573                          </ h4 > 
574574                          < div  class ="text-sm text-gray-400 mt-1 "> 
575575                            < p > 
576-                               {{  media.start_date|date_tracker_format }}
576+                               {% if media.start_date %}{{  media.start_date|date_tracker_format }}{% endif % }
577577                              {% if media.start_date and media.end_date %}-{% endif %}
578-                               {{  media.end_date|date_tracker_format }}
578+                               {% if media.end_date %}{{  media.end_date|date_tracker_format }}{% endif % }
579579                            </ p > 
580580                          </ div > 
581581                          {% if media.score is not None %}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments