File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function PageHeaderChangelog({ changelogData }: PageHeaderChangelogProps)
1818 const last = changelogData [ changelogData . length - 1 ] ;
1919 const lastDate = new Date ( last . ts ) ;
2020 const timeStr = dateToLocaleTimeString ( lastDate , '2-digit' , '2-digit' ) ;
21- const dateStr = dateToLocaleDateString ( lastDate , 'short ' ) ;
21+ const dateStr = dateToLocaleDateString ( lastDate , 'long ' ) ;
2222 const titleTimeIndicator = isDateToday ( lastDate ) ? timeStr : dateStr ;
2323 return {
2424 author : last . author ,
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export default function SettingsPage() {
199199
200200 return (
201201 < div className = "w-full mb-10" >
202- < PageHeader title = "Simple + changelog " icon = { < Settings2Icon /> } >
202+ < PageHeader title = "Settings " icon = { < Settings2Icon /> } >
203203 < PageHeaderChangelog
204204 changelogData = { swr ?. data ?. changelog }
205205 />
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default function TmpPageHeader() {
3333 < Wrapper >
3434 < PageHeader title = "Simple + changelog" icon = { < Settings2Icon /> } >
3535 < PageHeaderChangelog
36- changelogData = { [ { author : 'tabarra' , keys : [ ] , ts : 1741168243520 } ] }
36+ changelogData = { [ { author : 'tabarra' , keys : [ ] , ts : Date . now ( ) } ] }
3737 />
3838 </ PageHeader >
3939 </ Wrapper >
You can’t perform that action at this time.
0 commit comments