When I use the dates functionality within a poll, the dates/times do not seem to be rendering correctly in the post. Interestingly they seem fine in the preview:
Going to put a pr-welcome on this for now and let @lindsey know …
Just double checking the issue:
- 2025-02-17T13:00:00Z
- 2025-02-18T13:00:00Z
Note there is also a rendering issue after you vote that needs fixing (box with dates moves to an odd place.
My guess here is that chains decorating cooked struggle here with the poll rendering.
רק רוצה לוודא, שהתוצאה הצפויה היא שהתצוגה מקדימה היא נכונה, זה נכון
כן עלינו להיות תואמים עם התצוגה המקדימה כאן.
[sondage de type=“multiple” résultats=“toujours” public=“true” nom=“sondage2” chartType=“bar” max=“2” min=“1”]
- * 2019-10-13T00:00:00Z * 2019-10-12T00:00:00Z * 2019-10-11T00:00:00Z
- * 2019-10-13T00:00:00Z * * 2019-10-11T00:00:00Z
[/sondage]
היי, רק עדכון קצר. היה לי הרבה זמן לעבור על זה, אבל הצלחתי לשחזר את הבעיה בסביבתי המקומית על ידי יצירת סקר. בחנתי את הלוגיקה של discourse-local-dates ו-local dates builder, והייתה לי שאלה על מה זה site_settings שמוזכר בקוד. אני לא רוצה לנחש שזה ההעדפה של אזור הזמן בדף ההגדרות. לאור זה, הייתי בטוח שזה רק עובד על ידי הוספת תאריך. לכן, הבעיה הזו מוגבלת רק לסקרים. התיאוריה הנוכחית שלי היא שהבעיה היא באיך שמנהלים את אזורי הזמן.
I note that a fix to a similar problem within Polls has just been made:
Any chance of a wave of the dark magic for this too?
