sanity-plugin-recurring-dates 2.0.0 → 2.0.1
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/README.md +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -64,9 +64,11 @@ export default defineConfig({
|
|
|
64
64
|
// Configure the datepickers
|
|
65
65
|
// See https://www.sanity.io/docs/datetime-type#options
|
|
66
66
|
dateTimeOptions: {
|
|
67
|
-
dateFormat: 'DD/MM/
|
|
67
|
+
dateFormat: 'DD/MM/YYYY',
|
|
68
68
|
timeFormat: 'HH:mm',
|
|
69
69
|
timeStep: 15,
|
|
70
|
+
displayTimeZone: 'Europe/London',
|
|
71
|
+
allowTimeZoneSwitch: false,
|
|
70
72
|
},
|
|
71
73
|
|
|
72
74
|
// Changes the date picker to date only, no time
|
|
@@ -112,9 +114,11 @@ defineField({
|
|
|
112
114
|
// Configure the datepickers
|
|
113
115
|
// See https://www.sanity.io/docs/datetime-type#options
|
|
114
116
|
dateTimeOptions: {
|
|
115
|
-
dateFormat: 'DD/MM/
|
|
117
|
+
dateFormat: 'DD/MM/YYYY',
|
|
116
118
|
timeFormat: 'HH:mm',
|
|
117
119
|
timeStep: 15,
|
|
120
|
+
displayTimeZone: 'Europe/London',
|
|
121
|
+
allowTimeZoneSwitch: false,
|
|
118
122
|
},
|
|
119
123
|
|
|
120
124
|
// Changes the date picker to date only, no time
|