Added timezone support
Build and Publish / Build and Publish Docker Image (push) Failing after 56s

This commit is contained in:
Ultradesu
2026-05-11 13:43:16 +01:00
parent 434ed7a376
commit 357a2ed423
8 changed files with 60 additions and 38 deletions
+1
View File
@@ -81,6 +81,7 @@ document.addEventListener('DOMContentLoaded', function() {
const calendar = new FullCalendar.Calendar(calEl, {
locale: lang,
timeZone: '{{ timezone }}',
initialView: window.innerWidth < 768 ? 'listWeek' : 'dayGridMonth',
headerToolbar: {
left: 'prev,next today',
+6
View File
@@ -38,6 +38,12 @@
<textarea class="input" name="pricing_info" rows="3" style="min-height:70px;resize:vertical;" placeholder="от 600 рублей за визит">{% for s in &settings %}{% if s.key == "pricing_info" %}{{ s.value }}{% endif %}{% endfor %}</textarea>
</div>
</div>
<div class="field">
<label class="label">{{ t.settings_timezone }}</label>
<div class="control">
<input class="input" type="text" name="timezone" placeholder="Asia/Vladivostok" value="{% for s in &settings %}{% if s.key == "timezone" %}{{ s.value }}{% endif %}{% endfor %}">
</div>
</div>
<button type="submit" class="button is-primary">{{ t.settings_save }}</button>
</form>
</div>