@@ -165,7 +165,7 @@ export function formatTimeAgo(date: Date | string): string {
165
165
const years = Math . floor ( days / 365 ) ;
166
166
167
167
if ( seconds < 5 ) {
168
- return i18n . _ ( "just now" ) ;
168
+ return i18n . _ ( "Just now" ) ;
169
169
} else if ( seconds < 60 ) {
170
170
return i18n . _ ( "{seconds} seconds ago" , { seconds } ) ;
171
171
} else if ( minutes === 1 ) {
@@ -204,7 +204,7 @@ export function formatUpcomingTime(date: Date | string): string {
204
204
const now = new Date ( ) ;
205
205
206
206
if ( futureDate <= now ) {
207
- return i18n . _ ( "in progress" ) ;
207
+ return i18n . _ ( "In progress" ) ;
208
208
}
209
209
210
210
// Use calendar day difference calculation to be consistent with formatRelativeWithDay
@@ -220,15 +220,15 @@ export function formatUpcomingTime(date: Date | string): string {
220
220
const hours = Math . floor ( minutes / 60 ) ;
221
221
222
222
if ( seconds < 60 ) {
223
- return i18n . _ ( "in {seconds} seconds" , { seconds } ) ;
223
+ return i18n . _ ( "Starting soon" ) ;
224
224
} else if ( minutes === 1 ) {
225
- return i18n . _ ( "in 1 minute" ) ;
225
+ return i18n . _ ( "In 1 minute" ) ;
226
226
} else if ( minutes < 60 ) {
227
- return i18n . _ ( "in {minutes} minutes" , { minutes } ) ;
227
+ return i18n . _ ( "In {minutes} minutes" , { minutes } ) ;
228
228
} else if ( hours === 1 ) {
229
- return i18n . _ ( "in 1 hour" ) ;
229
+ return i18n . _ ( "In 1 hour" ) ;
230
230
} else {
231
- return i18n . _ ( "in {hours} hours" , { hours } ) ;
231
+ return i18n . _ ( "In {hours} hours" , { hours } ) ;
232
232
}
233
233
} else if ( diffInDays === 1 ) {
234
234
return i18n . _ ( "1 day later" ) ;
0 commit comments