You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SITE] display time in local user time zone (#14405)
* [SITE] display time in local user time zone
- add local user time zone
- add offset from UTC to convert
- convert event time to user time zone
- add several examples to demo
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
* add option to use timezone name and calculate offset
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
* Updates documentation
Signed-off-by: Matty Stratton <matty.stratton@aiven.io>
* update reference to add new timezone options
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
---------
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
Signed-off-by: Matty Stratton <matty.stratton@aiven.io>
Co-authored-by: Matty Stratton <matt.stratton@gmail.com>
Co-authored-by: Matty Stratton <matty.stratton@aiven.io>
|`startdate`| YYYY-MM-DD | No | The start date of your event. Leave blank if you don't have a venue reserved yet. | 2016-01-05 |
67
-
|`enddate`| YYYY-MM-DD | No | The end date of your event. Leave blank if you don't have a venue reserved yet. | 2016-01-05 |
68
-
|`cfp_date_start`| YYYY-MM-DD | No | The date you will start accepting talk proposals. Can be a blank value. | 2016-01-05 |
69
-
|`cfp_date_end`| YYYY-MM-DD | No | The date you will close your call for proposals. Can be a blank value. If you set the full datetime string with correct TZ, CFP will display as open until local close time. | 2016-01-05T23:59:00-06:00 |
70
-
|`cfp_date_announce`| YYYY-MM-DD | No | The date you will inform proposers of status. Can be a blank value. | 2016-01-05 |
71
-
|`cfp_open`| String | No | Either "true" or "false". Can be blank. This controls whether or not the "propose" button shows on your event page. *Deprecated field; if you have set `cfp_date_start` and `cfp_date_end` they will serve the same purpose.*| "true" |
72
-
|`cfp_link`| String | No | If you have a custom link for submitting proposals, add it here. This will control the Propose menu item as well as the "Propose" button. | "https://myurlhere" - reference it like "{{< event_link url-key="cfp_link" text="Propose a talk!" >}}" |
73
-
|`registration_date_start`| YYYY-MM-DD | No | The date you will start accepting registration. If this is set, will make the "Register" button appear on the event's "Welcome" page. Can be a blank value. | 2016-01-05 |
74
-
|`registration_date_end`| YYYY-MM-DD | No | The date you will close registration. Controls the appearance of the "Register" button on the "Welcome" page. If you set `registration_date_start` you must set `registration_date_end`. Can be a blank value (unless `registration_date_start` has been set). | 2016-01-05 |
75
-
|`registration_closed`| String | No | Set this to "true" if you need to manually close registration before your registration end date. | "true" |
76
-
|`registration_link`| String | No | If you have a custom registration link, enter it here. This will control the Registration menu item as well as the "Register" button. | "https://myurlhere" reference it like {{< event_link url-key="registration_link" text="Register to attend the conference!" >}} ||
77
-
|`sponsor_link`| String | No | If you have a custom sponsorship link, enter it here. This will control the "Become an X Sponsor!" links. It does NOT change the "Sponsor" button. | "https://myurlhere"||
64
+
| Field Name | Type | Required | Description | Example |
|`startdate`| YYYY-MM-DD | No | The start date of your event. Leave blank if you don't have a venue reserved yet. | 2016-01-05 |
67
+
|`enddate`| YYYY-MM-DD | No | The end date of your event. Leave blank if you don't have a venue reserved yet. | 2016-01-05 |
68
+
|`timeoffset`| +/-HHMM | No | The offset of the timezone of your event from UTC | "-0600" |
69
+
|`timezone`| String | No | The timezone of the event [https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)| "Europe/London" |
70
+
|`cfp_date_start`| YYYY-MM-DD | No | The date you will start accepting talk proposals. Can be a blank value. | 2016-01-05 |
71
+
|`cfp_date_end`| YYYY-MM-DD | No | The date you will close your call for proposals. Can be a blank value. If you set the full datetime string with correct TZ, CFP will display as open until local close time. | 2016-01-05T23:59:00-06:00 |
72
+
|`cfp_date_announce`| YYYY-MM-DD | No | The date you will inform proposers of status. Can be a blank value. | 2016-01-05 |
73
+
|`cfp_open`| String | No | Either "true" or "false". Can be blank. This controls whether or not the "propose" button shows on your event page. *Deprecated field; if you have set `cfp_date_start` and `cfp_date_end` they will serve the same purpose.*| "true" |
74
+
|`cfp_link`| String | No | If you have a custom link for submitting proposals, add it here. This will control the Propose menu item as well as the "Propose" button. | "https://myurlhere" - reference it like "{{< event_link url-key="cfp_link" text="Propose a talk!" >}}" |
75
+
|`registration_date_start`| YYYY-MM-DD | No | The date you will start accepting registration. If this is set, will make the "Register" button appear on the event's "Welcome" page. Can be a blank value. | 2016-01-05 |
76
+
|`registration_date_end`| YYYY-MM-DD | No | The date you will close registration. Controls the appearance of the "Register" button on the "Welcome" page. If you set `registration_date_start` you must set `registration_date_end`. Can be a blank value (unless `registration_date_start` has been set). | 2016-01-05 |
77
+
|`registration_closed`| String | No | Set this to "true" if you need to manually close registration before your registration end date. | "true" |
78
+
|`registration_link`| String | No | If you have a custom registration link, enter it here. This will control the Registration menu item as well as the "Register" button. | "https://myurlhere" reference it like {{< event_link url-key="registration_link" text="Register to attend the conference!" >}} ||
79
+
|`sponsor_link`| String | No | If you have a custom sponsorship link, enter it here. This will control the "Become an X Sponsor!" links. It does NOT change the "Sponsor" button. | "https://myurlhere"||
0 commit comments