@@ -314,10 +314,17 @@ function formatDateDisplay(
314314 if ( ! dateStr ) return "" ;
315315 const date = new Date ( dateStr ) ;
316316 if ( Number . isNaN ( date . getTime ( ) ) ) return "" ;
317- return new Intl . DateTimeFormat ( "en-US" ,
317+ return new Intl . DateTimeFormat (
318+ "en-US" ,
318319 mode === "date"
319320 ? { month : "short" , day : "numeric" , year : "numeric" }
320- : { month : "short" , day : "numeric" , year : "numeric" , hour : "numeric" , minute : "2-digit" } ,
321+ : {
322+ month : "short" ,
323+ day : "numeric" ,
324+ year : "numeric" ,
325+ hour : "numeric" ,
326+ minute : "2-digit" ,
327+ } ,
321328 ) . format ( date ) ;
322329}
323330
@@ -428,11 +435,30 @@ function DateField({
428435 aria-hidden = "true"
429436 className = "shrink-0 text-muted-foreground"
430437 >
431- < rect x = "1" y = "3" width = "14" height = "12" rx = "2" stroke = "currentColor" strokeWidth = "1.5" />
438+ < rect
439+ x = "1"
440+ y = "3"
441+ width = "14"
442+ height = "12"
443+ rx = "2"
444+ stroke = "currentColor"
445+ strokeWidth = "1.5"
446+ />
432447 < path d = "M1 7h14" stroke = "currentColor" strokeWidth = "1.5" />
433- < path d = "M5 1v4M11 1v4" stroke = "currentColor" strokeWidth = "1.5" strokeLinecap = "round" />
448+ < path
449+ d = "M5 1v4M11 1v4"
450+ stroke = "currentColor"
451+ strokeWidth = "1.5"
452+ strokeLinecap = "round"
453+ />
434454 </ svg >
435- < span className = { display ? "flex-1 truncate" : "flex-1 truncate text-muted-foreground/40" } >
455+ < span
456+ className = {
457+ display
458+ ? "flex-1 truncate"
459+ : "flex-1 truncate text-muted-foreground/40"
460+ }
461+ >
436462 { display || placeholder }
437463 </ span >
438464 </ div >
@@ -462,9 +488,22 @@ function DateField({
462488 fill = "none"
463489 aria-hidden = "true"
464490 >
465- < rect x = "1" y = "3" width = "14" height = "12" rx = "2" stroke = "currentColor" strokeWidth = "1.5" />
491+ < rect
492+ x = "1"
493+ y = "3"
494+ width = "14"
495+ height = "12"
496+ rx = "2"
497+ stroke = "currentColor"
498+ strokeWidth = "1.5"
499+ />
466500 < path d = "M1 7h14" stroke = "currentColor" strokeWidth = "1.5" />
467- < path d = "M5 1v4M11 1v4" stroke = "currentColor" strokeWidth = "1.5" strokeLinecap = "round" />
501+ < path
502+ d = "M5 1v4M11 1v4"
503+ stroke = "currentColor"
504+ strokeWidth = "1.5"
505+ strokeLinecap = "round"
506+ />
468507 </ svg >
469508 </ button >
470509 </ div >
@@ -1292,9 +1331,7 @@ function ImageField({
12921331 < div className = "px-3 py-2" >
12931332 < p className = "truncate font-mono text-xs font-semibold" > { stem } </ p >
12941333 { ext && (
1295- < p className = "text-[10px] text-muted-foreground" >
1296- { ext }
1297- </ p >
1334+ < p className = "text-[10px] text-muted-foreground" > { ext } </ p >
12981335 ) }
12991336 </ div >
13001337 ) }
@@ -1427,9 +1464,7 @@ function MediaField({
14271464 { stem }
14281465 </ p >
14291466 { ext && (
1430- < p className = "text-[10px] text-muted-foreground" >
1431- { ext }
1432- </ p >
1467+ < p className = "text-[10px] text-muted-foreground" > { ext } </ p >
14331468 ) }
14341469 </ div >
14351470 </ >
@@ -1441,9 +1476,7 @@ function MediaField({
14411476 { stem }
14421477 </ p >
14431478 { ext && (
1444- < p className = "text-[10px] text-muted-foreground" >
1445- { ext }
1446- </ p >
1479+ < p className = "text-[10px] text-muted-foreground" > { ext } </ p >
14471480 ) }
14481481 </ div >
14491482 </ div >
0 commit comments