File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
app/components/monitor/graph Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ dayjs.extend(timezone);
2727dayjs . extend ( utc ) ; 
2828
2929const  MonitorGraph  =  ( {  monitor } : {  monitor : MonitorProps  } )  =>  { 
30-   const  {  dateformat ,  timeformat ,   theme,  timezone }  =  useLocalStorageContext ( ) ; 
30+   const  {  theme,  timezone }  =  useLocalStorageContext ( ) ; 
3131
3232  const  {  statusType,  statusHeartbeats,  setStatusType }  = 
3333    useGraphStatus ( monitor ) ; 
@@ -67,7 +67,7 @@ const MonitorGraph = ({ monitor }: { monitor: MonitorProps }) => {
6767              style = { {  fill : 'var(--accent-200)'  } } 
6868              tick = { {  fontSize : 12  } } 
6969              tickFormatter = { ( value )  =>  { 
70-                 return  dayjs ( value ) . tz ( timezone ) . format ( timeformat ) ; 
70+                 return  dayjs ( value ) . tz ( timezone ) . format ( 'HH:mm' ) ; 
7171              } } 
7272              interval = { 8 } 
7373            /> 
@@ -86,7 +86,7 @@ const MonitorGraph = ({ monitor }: { monitor: MonitorProps }) => {
8686              labelFormatter = { ( value )  =>  { 
8787                return  dayjs ( value ) 
8888                  . tz ( timezone ) 
89-                   . format ( `${ dateformat }  -  ${ timeformat }  ) ; 
89+                   . format ( `DD MMM YYYY - HH:mm:ss ` ) ; 
9090              } } 
9191              separator = ": " 
9292              contentStyle = { { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments