File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/frontend/src/services Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ export class TaskService {
3131 completed_steps : plan . completed ,
3232 total_steps : plan . total_steps ,
3333 status : apiService . isPlanComplete ( plan ) ? "completed" : "inprogress" ,
34- date : formatDate ( plan . timestamp ) ,
34+ date : new Intl . DateTimeFormat ( undefined , {
35+ dateStyle : "long" ,
36+ // timeStyle: "short",
37+ } ) . format ( new Date ( plan . timestamp ) ) ,
3538 } ;
3639
3740 // Categorize based on plan status and completion
@@ -98,8 +101,8 @@ export class TaskService {
98101 */
99102 static generateSessionId ( ) : string {
100103 const timestamp = new Date ( ) . getTime ( ) ;
101- const random = Math . floor ( Math . random ( ) * 10000 ) ;
102- return `sid_${ timestamp } _${ random } ` ;
104+ const random = Math . floor ( Math . random ( ) * 10000 ) ;
105+ return `sid_${ timestamp } _${ random } ` ;
103106 }
104107 /**
105108 * Split subtask action into description and function/details parts
You can’t perform that action at this time.
0 commit comments