Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/43f297099e25f73b7fd90de9d6744490c6d5084f
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
33 additions and
27 deletions
@ -1,42 +1,48 @@
import PropTypes from 'prop-types' ;
import React from 'react' ;
import React , { PureComponent } from 'react' ;
import formatDateTime from 'Utilities/Date/formatDateTime' ;
import getRelativeDate from 'Utilities/Date/getRelativeDate' ;
import TableRowCell from './TableRowCell' ;
import styles from './RelativeDateCell.css' ;
function RelativeDateCell ( props ) {
const {
className ,
date ,
includeSeconds ,
showRelativeDates ,
shortDateFormat ,
longDateFormat ,
timeFormat ,
component : Component ,
dispatch ,
... otherProps
} = props ;
if ( ! date ) {
class RelativeDateCell extends PureComponent {
//
// Render
render ( ) {
const {
className ,
date ,
includeSeconds ,
showRelativeDates ,
shortDateFormat ,
longDateFormat ,
timeFormat ,
component : Component ,
dispatch ,
... otherProps
} = this . props ;
if ( ! date ) {
return (
< Component
className = { className }
{ ... otherProps }
/ >
) ;
}
return (
< Component
className = { className }
title = { formatDateTime ( date , longDateFormat , timeFormat , { includeSeconds , includeRelativeDay : ! showRelativeDates } ) }
{ ... otherProps }
/ >
>
{ getRelativeDate ( date , shortDateFormat , showRelativeDates , { timeFormat , includeSeconds , timeForToday : true } ) }
< / C o m p o n e n t >
) ;
}
return (
< Component
className = { className }
title = { formatDateTime ( date , longDateFormat , timeFormat , { includeSeconds , includeRelativeDay : ! showRelativeDates } ) }
{ ... otherProps }
>
{ getRelativeDate ( date , shortDateFormat , showRelativeDates , { timeFormat , includeSeconds , timeForToday : true } ) }
< / C o m p o n e n t >
) ;
}
RelativeDateCell . propTypes = {