mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 13:26:47 +01:00
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
export const supportedYearTokens = ['y', 'yy'];
|
|
export const supportedMonthTokens = ['M', 'MM', 'MMM', 'MMMM'];
|
|
export const supportedWeekTokens = ['W', 'WW'];
|
|
export const supportedDayTokens = ['d', 'dd'];
|
|
export const supportedHourTokens = ['h', 'hh', 'H', 'HH'];
|
|
export const supportedMinuteTokens = ['m', 'mm'];
|
|
export const supportedSecondTokens = ['s', 'ss'];
|
|
export const supportedPresetTokens = [
|
|
'{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}',
|
|
'{{y}}/{{MM}}-{{dd}}/{{filename}}',
|
|
'{{y}}/{{MMMM}}-{{dd}}/{{filename}}',
|
|
'{{y}}/{{MM}}/{{filename}}',
|
|
'{{y}}/{{MMM}}/{{filename}}',
|
|
'{{y}}/{{MMMM}}/{{filename}}',
|
|
'{{y}}/{{MM}}/{{dd}}/{{filename}}',
|
|
'{{y}}/{{MMMM}}/{{dd}}/{{filename}}',
|
|
'{{y}}/{{y}}-{{MM}}/{{y}}-{{MM}}-{{dd}}/{{filename}}',
|
|
'{{y}}-{{MM}}-{{dd}}/{{filename}}',
|
|
'{{y}}-{{MMM}}-{{dd}}/{{filename}}',
|
|
'{{y}}-{{MMMM}}-{{dd}}/{{filename}}',
|
|
'{{y}}/{{y}}-{{MM}}/{{filename}}',
|
|
'{{y}}/{{y}}-{{WW}}/{{filename}}',
|
|
'{{y}}/{{y}}-{{MM}}-{{dd}}/{{assetId}}',
|
|
'{{y}}/{{y}}-{{MM}}/{{assetId}}',
|
|
'{{y}}/{{y}}-{{WW}}/{{assetId}}',
|
|
'{{album}}/{{filename}}',
|
|
];
|