mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove release date format option
This commit is contained in:
parent
9dc9aadf98
commit
730d79636f
1 changed files with 1 additions and 11 deletions
|
@ -41,7 +41,7 @@ export const action = async ({ request }: ActionFunctionArgs) => {
|
||||||
|
|
||||||
const newConfig: NFOSettingsConfig = {
|
const newConfig: NFOSettingsConfig = {
|
||||||
UserId: data.UserId?.toString(),
|
UserId: data.UserId?.toString(),
|
||||||
ReleaseDateFormat: data.ReleaseDateFormat?.toString(),
|
ReleaseDateFormat: 'yyyy-MM-dd',
|
||||||
SaveImagePathsInNfo: data.SaveImagePathsInNfo?.toString() === 'on',
|
SaveImagePathsInNfo: data.SaveImagePathsInNfo?.toString() === 'on',
|
||||||
EnablePathSubstitution: data.EnablePathSubstitution?.toString() === 'on',
|
EnablePathSubstitution: data.EnablePathSubstitution?.toString() === 'on',
|
||||||
EnableExtraThumbsDuplication: data.EnableExtraThumbsDuplication?.toString() === 'on'
|
EnableExtraThumbsDuplication: data.EnableExtraThumbsDuplication?.toString() === 'on'
|
||||||
|
@ -133,16 +133,6 @@ export const Component = () => {
|
||||||
)}
|
)}
|
||||||
</TextField>
|
</TextField>
|
||||||
|
|
||||||
<TextField
|
|
||||||
name={'ReleaseDateFormat'}
|
|
||||||
label={globalize.translate('LabelKodiMetadataDateFormat')}
|
|
||||||
defaultValue={nfoConfig.ReleaseDateFormat}
|
|
||||||
select
|
|
||||||
helperText={globalize.translate('LabelKodiMetadataDateFormatHelp')}
|
|
||||||
>
|
|
||||||
<MenuItem value='yyyy-MM-dd'>yyyy-MM-dd</MenuItem>
|
|
||||||
</TextField>
|
|
||||||
|
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
control={
|
control={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue