File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 7
7
"Pending approval articles:" : " Pending approval articles:" ,
8
8
"• Title: [:title](:url)" : " • Title: [:title](:url)" ,
9
9
"• By: [@:username](:profile_url)" : " • By: [@:username](:profile_url)" ,
10
- "• Submitted on: :date" : " • Submitted on: :date"
10
+ "• Submitted on: :date" : " • Submitted on: :date" ,
11
+ "Date not available" : " Date not available"
11
12
}
Original file line number Diff line number Diff line change 7
7
"Pending approval articles:" : " Articles soumis en attente d'approbation:" ,
8
8
"• Title: [:title](:url)" : " • Titre: [:title](:url)" ,
9
9
"• By: [@:username](:profile_url)" : " • Par: [@:username](:profile_url)" ,
10
- "• Submitted on: :date" : " • Soumis le: :date"
10
+ "• Submitted on: :date" : " • Soumis le: :date" ,
11
+ "Date not available" : " Date non disponible"
11
12
}
Original file line number Diff line number Diff line change 107
107
</div >
108
108
109
109
<div class =" mt-2 flex space-x-1 text-sm text-skin-base sm:mt-0" >
110
- <time class =" capitalize" datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> isoFormat (' LL' ) } } </time >
110
+ <time class =" capitalize" datetime =" {{ $article -> publishedAt () ? $article -> publishedAt ()-> format (' Y-m-d' ) : ' ' } }" >
111
+ {{ $article -> publishedAt () ? $article -> publishedAt ()-> isoFormat (' LL' ) : __ (' Date not available' ) } }
112
+ </time >
113
+
111
114
<span aria-hidden =" true" >· ; </span >
112
115
<span >{{ __ (' :time min de lecture' , [' time' => $article -> readTime ()]) } } </span >
113
116
<span aria-hidden =" true" >· ; </span >
You can’t perform that action at this time.
0 commit comments