@sveltia/cms 0.151.5 → 0.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/public.d.ts
CHANGED
|
@@ -2257,6 +2257,13 @@ export type SlugOptions = {
|
|
|
2257
2257
|
* Whether to convert the slug to lowercase. Default: `true`.
|
|
2258
2258
|
*/
|
|
2259
2259
|
lowercase?: boolean;
|
|
2260
|
+
/**
|
|
2261
|
+
* Timezone to be used for date-based slug template tags,
|
|
2262
|
+
* such as `{{day}}` and `{{hour}}`. Default is `utc` for backward compatibility with Netlify/Decap
|
|
2263
|
+
* CMS. Use `local` to generate slugs based on the local time of the user’s browser, which is more
|
|
2264
|
+
* intuitive in most cases.
|
|
2265
|
+
*/
|
|
2266
|
+
timezone?: "utc" | "local";
|
|
2260
2267
|
};
|
|
2261
2268
|
/**
|
|
2262
2269
|
* JSON format options.
|