Closed Bug 1515937 Opened 6 years ago Closed 6 years ago

Error in definition of Brazil time zones with DST

Categories

(Calendar :: Lightning Only, defect)

Lightning 6.3
x86
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dbastreghi, Assigned: darktrojan)

Details

(Whiteboard: [timezone])

Attachments

(4 files, 2 obsolete files)

Attached video thunderbird bug.mp4
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 Steps to reproduce: (Lightning) Create an event on 01 JAN 2019 at 11:00 AM (or any day in 2019 - It must be on 2019) Actual results: The event will be saved 1 hour later (12:00 AM) Expected results: The event should be saved with the specified hour (11:00 AM).
Component: Add-Ons: General → Lightning Only
OS: Unspecified → Windows 10
Product: Thunderbird → Calendar
Hardware: Unspecified → x86
Version: 60 → Lightning 6.2.3.1
Lightning version 6.2.4 (this option is no available)
Version: Lightning 6.2.3.1 → Lightning 6.3
I cannot reproduce this here. What is your OS timezone and which zone is configured in TB Options > Calendar > General? Can you reproduce the issue, if you disable all addons but Lightning and restart TB?
Flags: needinfo?(dbastreghi)
Windows timezone: UTC -03:00 (Brasília/Brazil) TB timezone: América/São Paulo. Yes, the issue still happen if I disable all addons.
Flags: needinfo?(dbastreghi)
Informações básicas sobre o aplicativo Nome: Thunderbird Versão: 60.3.3 ID da compilação: 20181204174145 Canal de atualização: release User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 OS: Windows_NT 10.0 Janelas multiprocesso: 0/0 (Desabilitado) Processos de conteúdo Web: Stylo: content = true (habilitado por padrão), chrome = true (habilitado por padrão) Políticas empresariais: Chave do Google: Faltando Chave do serviço de localização da Mozilla: Faltando Modo de segurança: false Contas de correio e notícias account1: INCOMING: account1, , (imap) mail.drbmarketing.com.br:143, alwaysSTARTTLS, passwordCleartext OUTGOING: , mail.drbmarketing.com.br:587, alwaysSTARTTLS, passwordCleartext, true account2: INCOMING: account2, , (none) Local Folders, plain, passwordCleartext account3: INCOMING: account3, , (imap) imap.primecontrol.com.br:143, alwaysSTARTTLS, passwordCleartext OUTGOING: , smtp.primecontrol.com.br:587, alwaysSTARTTLS, passwordCleartext, true Relatórios de travamentos dos últimos 3 dias Todos os relatórios de travamentos Extensões Nome Versão Habilitado ID Lightning 6.2.3.3 true {e2fda1a4-762b-4020-b5ad-a41df1933103} CardBook 33.4 false cardbook@vigneau.philippe Mail Merge 4.12.0 false mailmerge@example.net Provider for CalDAV & CardDAV 0.10 false dav4tbsync@jobisoft.de Quicktext 1.1 false {8845E3B3-E8FB-40E2-95E9-EC40294818C4} Send Later 6.4.3 false sendlater3@kamens.us TbSync 0.7.22 false tbsync@jobisoft.de Software de segurança Tipo: Nome Antivírus: Windows Defender Antivirus Antispyware: Windows Defender Antivirus Firewall: Firewall do Windows Gráficos Funcionalidades Composição: Direct3D 11 (Advanced Layers) Deslocamento/Zoom assíncrono: nenhum Info WSI do driver WebGL 1: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000008377) EGL_VERSION: 1.4 (ANGLE 2.1.0.7edc21933ef1) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses Renderizador do driver WebGL 1: Google Inc. -- ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0) Versão do driver WebGL 1: OpenGL ES 2.0 (ANGLE 2.1.0.7edc21933ef1) Extensões do driver WebGL 1: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object Extensões WebGL 1: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context Info WSI do driver WebGL 2: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000008377) EGL_VERSION: 1.4 (ANGLE 2.1.0.7edc21933ef1) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses Renderizador do driver WebGL 2: Google Inc. -- ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0) Versão do driver WebGL 2: OpenGL ES 3.0 (ANGLE 2.1.0.7edc21933ef1) Extensões do driver WebGL 2: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object Extensões WebGL 2: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context Desenho fora da linha principal habilitado: true DirectWrite: true (10.0.17763.168) GPU #1 Ativo: Sim Descrição: Intel(R) HD Graphics 4000 ID do fornecedor: 0x8086 ID do dispositivo: 0x0166 Versão do driver: 10.18.10.4358 Data do driver: 12-21-2015 Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32 ID do subsistema: 100d1043 RAM: Unknown GPU #2 Diagnósticos AzureCanvasAccelerated: 0 AzureCanvasBackend: skia AzureContentBackend: skia AzureFallbackCanvasBackend: cairo Registro de decisões DIRECT2D: disabled by default: Disabled by default GPU_PROCESS: unavailable by default: Multi-process mode is not enabled WEBRENDER: opt-in by default: WebRender is an opt-in featureunavailable by runtime: Build doesn't include WebRender Proteção contra travamentos desabilitada Soluções alternativas Registro de falhas Mídia Infraestrutura de Áudio: wasapi Máximo de Canais: 2 Formato de Canal Preferido: stereo Taxa de amostragem preferida: 48000 Dispositivos de Saída Nome Grupo Fabricante Estado Preferido Formato Canais Taxa Latência Disabled None default: F32LE, support: S16LE F32LE 6 default: 48000, support: 48000 - 48000 0 - 0 Áudio Digital (HDMI) (Dispositivo de High Definition Audio) HDAUDIO\FUNC_01&VEN_8086&DEV_2806&SUBSYS_80860101&REV_1000\4&ff981c6&0&0301 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Fones de ouvido (Dispositivo de High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Headset (JBL T450BT Hands-Free) BTHHFENUM\BthHFPAudio\9&2dbdce7a&3&97 Unplugged None default: F32LE, support: S16LE F32LE 1 default: 8000, support: 8000 - 8000 0 - 0 CASIO-PJ (Áudio do vídeo Intel(R)) Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Alto-falantes (Realtek High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Enabled All default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 144 - 480 Alto-falantes (Dispositivo de High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Fones de ouvido (JBL T450BT Stereo) BTHENUM\{0000110b-0000-1000-8000-00805f9b34fb}_LOCALMFG&0045\8&27d0921b&0&784405C51C22_C00000000 Unplugged None default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Fones de ouvido (JBL T450BT Stereo) Disabled None default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 0 - 0 PHILIPS FTV (Áudio Intel(R) para telas) HDAUDIO\FUNC_01&VEN_8086&DEV_2806&SUBSYS_80860101&REV_1000\4&ff981c6&0&0301 Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 1970W (Áudio do vídeo Intel(R)) Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Dispositivos de Entrada Nome Grupo Fabricante Estado Preferido Formato Canais Taxa Latência Disabled None default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 0 - 0 Microfone (Dispositivo de High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Disabled None default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Conector AUX Interno (Dispositivo de High Definition Audio) HDAUDIO\FUNC_01&VEN_8086&DEV_2806&SUBSYS_80860101&REV_1000\4&ff981c6&0&0301 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Microfone (Realtek High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Mixagem estéreo (Realtek High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Headset (JBL T450BT Hands-Free) BTHHFENUM\BthHFPAudio\9&2dbdce7a&3&97 Unplugged None default: F32LE, support: S16LE F32LE 1 default: 8000, support: 8000 - 8000 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 2 default: 48000, support: 48000 - 48000 0 - 0 Microfone (Realtek High Definition Audio) HDAUDIO\FUNC_01&VEN_10EC&DEV_0270&SUBSYS_1043100D&REV_1001\4&ff981c6&0&0001 Enabled All default: F32LE, support: S16LE F32LE 2 default: 44100, support: 44100 - 44100 133 - 448 Disabled None default: F32LE, support: S16LE F32LE 6 default: 48000, support: 48000 - 48000 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 0 default: 0, support: 0 - 0 0 - 0 Disabled None default: F32LE, support: S16LE F32LE 2 default: 16000, support: 16000 - 16000 0 - 0 Preferências importantes modificadas browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 extensions.lastAppVersion: 60.3.3 font.internaluseonly.changed: false font.name.monospace.el: Consolas font.name.monospace.x-cyrillic: Consolas font.name.monospace.x-unicode: Consolas font.name.monospace.x-western: Consolas font.name.sans-serif.el: Calibri font.name.sans-serif.x-cyrillic: Calibri font.name.sans-serif.x-unicode: Calibri font.name.sans-serif.x-western: Calibri font.name.serif.el: Cambria font.name.serif.x-cyrillic: Cambria font.name.serif.x-unicode: Cambria font.name.serif.x-western: Cambria font.size.fixed.el: 14 font.size.fixed.x-cyrillic: 14 font.size.fixed.x-unicode: 14 font.size.fixed.x-western: 14 font.size.variable.el: 17 font.size.variable.x-cyrillic: 17 font.size.variable.x-unicode: 17 font.size.variable.x-western: 17 gfx.crash-guard.d3d11layers.appVersion: 60.3.3 gfx.crash-guard.d3d11layers.deviceID: 0x0166 gfx.crash-guard.d3d11layers.driverVersion: 10.18.10.4358 gfx.crash-guard.d3d11layers.feature-d2d: false gfx.crash-guard.d3d11layers.feature-d3d11: true gfx.crash-guard.status.d3d11layers: 2 layers.acceleration.disabled: false media.gmp.storage.version.observed: 1 network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1546432884 places.history.expiration.transient_current_max_pages: 104858 plugin.state.flash: 0 security.sandbox.plugin.tempDirSuffix: {c83ea0cc-87be-4297-8f71-574a9d09c161} storage.vacuum.last.index: 0 storage.vacuum.last.places.sqlite: 1546432884 ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found. Preferências importantes bloqueadas Base de dados de lugares JavaScript GC incremental: true Acessibilidade Ativado: false Bloquear acessibilidade: 0 Identificador Acessível Utilizado: true Instanciador de Acessibilidade: Versões de bibliotecas Versão mínima esperada Versão em uso NSPR 4.19 4.19 NSS 3.36.4 3.36.4 NSSSMIME 3.36.4 3.36.4 NSSSSL 3.36.4 3.36.4 NSSUTIL 3.36.4 3.36.4 Isolamento Nível de isolamento do conteúdo processado: 0 Nível efetivo de isolamento de conteúdo processado: 1 Internacionalização & Localização Configurações do aplicativo Idiomas solicitados: ["pt-BR","en-US"] Idiomas disponíveis: ["pt-BR"] Idiomas do aplicativo: ["pt-BR"] Preferências regionais: ["pt-BR"] Idioma padrão: "pt-BR" Sistema operacional Idiomas do sistema: ["pt-BR"] Preferências regionais: ["pt-BR"]
Hi. I have made some tests. When an event is created in a local calendar, it works fine. The problem just happen when an event is created on a CalDav calendar. The Horde/PHP timezones on server are right (America/Sao_Paulo). On my cellphone Android, I use DavDroid app. It's works perfectly. The events created on my cellphone appear with right date and time on server and on TB. The events created on Horde webmail appears with right date and time on my cellphone and on TB. The issue happens just when I create a event on TB. It seems like if it is sending the wrong timezone to server. Checking the console, the information sent by TB to server is... - - - - CalDAV: send: BEGIN:VCALENDAR PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:America/Sao_Paulo BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 TZNAME:-02 DTSTART:19701101T000000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0300 TZOFFSETTO:-0300 <---- MAYBE HERE IS THE PROBLEM???? TZNAME:-03 DTSTART:19700215T000000 RRULE:FREQ=YEARLY;BYDAY=3SU;BYMONTH=2 END:STANDARD END:VTIMEZONE BEGIN:VEVENT CREATED:20190104T204418Z LAST-MODIFIED:20190104T204421Z DTSTAMP:20190104T204421Z UID:9b96ea3f-5818-4d30-80fa-bfa767e682f1 SUMMARY:Novo evento DTSTART;TZID=America/Sao_Paulo:20190105T210000 DTEND;TZID=America/Sao_Paulo:20190105T220000 TRANSP:OPAQUE END:VEVENT END:VCALENDAR - - - - - And the server response is... - - - - - CalDAV: recv: <d:multistatus><d:response><d:href>/rpc/calendars/(...).ics</d:href><d:propstat><d:prop><cal:calendar-data>BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:Calendar PRODID:-//The Horde Project//Horde iCalendar Library//EN BEGIN:VEVENT DTSTART;TZID=America/Sao_Paulo:20190105T220000 <------- WRONG TIME - 1 HOUR LATER DTEND;TZID=America/Sao_Paulo:20190105T230000 <------- WRONG TIME - 1 HOUR LATER DTSTAMP:20190104T204414Z UID:9b96ea3f-5818-4d30-80fa-bfa767e682f1 CREATED:20190104T204413Z LAST-MODIFIED:20190104T204413Z SUMMARY:Novo evento CLASS:PUBLIC STATUS:CONFIRMED TRANSP:OPAQUE END:VEVENT BEGIN:VTIMEZONE TZID:America/Sao_Paulo BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19311003T110000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19320401T000000 RRULE:FREQ=YEARLY;BYMONTH=4;BYMONTHDAY=1;UNTIL=19330401T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19321003T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19491201T000000 RRULE:FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=1;UNTIL=19521201T030000Z TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19500416T010000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19510401T000000 RRULE:FREQ=YEARLY;BYMONTH=4;BYMONTHDAY=1;UNTIL=19520401T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19530301T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19631209T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT DTSTART:19631023T000000 TZOFFSETFROM:-0300 TZOFFSETTO:-0300 TZNAME:-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19631209T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19640301T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19650131T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19650331T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19651201T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19660301T000000 RRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=1;UNTIL=19680301T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19661101T000000 RRULE:FREQ=YEARLY;BYMONTH=11;BYMONTHDAY=1;UNTIL=19671101T030000Z TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19851102T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19860315T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19861025T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19870214T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19871025T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19880207T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19881016T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19890129T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19891015T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19900211T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19901021T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19910217T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19911020T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19920209T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19921025T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19930131T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19931017T000000 RRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=11,12,13,14,15,16,17;BYDAY=1SU;UNTI L=19951015T030000Z TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19940220T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =19950219T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19960211T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19961006T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19970216T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19971006T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19980301T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19981011T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:19990221T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:19991003T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20000227T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20001008T000000 RRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=8,9,10,11,12,13,14;BYDAY=1SU;UNTIL= 20011014T030000Z TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20010218T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20060219T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20021103T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20031019T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20041102T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20051016T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20061105T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20070225T000000 TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20071014T000000 TZNAME:-03/-02 END:DAYLIGHT BEGIN:DAYLIGHT TZOFFSETFROM:-0200 TZOFFSETTO:-0200 DTSTART:20081019T000000 RRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTI L=20171015T020000Z TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20080217T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20110220T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20120226T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20130217T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20140216T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20150222T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20160221T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20220220T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0300 TZOFFSETTO:-0200 DTSTART:20181104T000000 RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU TZNAME:-03/-02 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20230226T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20240218T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20250216T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20260222T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20270221T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20330220T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20340226T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20350218T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU;UNTIL =20360217T020000Z TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20370222T000000 TZNAME:-03/-02 END:STANDARD BEGIN:STANDARD TZOFFSETFROM:-0200 TZOFFSETTO:-0300 DTSTART:20380221T000000 RRULE:FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1SU TZNAME:-03/-02 END:STANDARD END:VTIMEZONE END:VCALENDAR </cal:calendar-data><d:getetag>"083ec2f803d80f94331f1d2976105dbe"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> - - - - -
Severity: normal → critical
Indeeed, the coincidence of TZOFFSETFROM:-0300 and TZOFFSETTO:-0300 in Sao Paulo standard time is looking odd since Sao Paulo has also DST. We have that definition in our zones.json [1] and it's there that way since we intoroduced zones.json. I assume this now becomes obvious along with the changes to datetime formatting, but the culprit is the wrong definition. In zones.json there are other zones with the same pattern (no offset transition, but DST present), too, e.g. [2]. This is probably an issue in update-zones.py (or a lack of checking what's carried forward) - Geoff, can you take a look at it, plesase? [1] https://searchfox.org/comm-central/source/calendar/timezones/zones.json#1299 [2] https://searchfox.org/comm-central/source/calendar/timezones/zones.json#819
Flags: needinfo?(geoff)
Whiteboard: [timezone]
I think the problem's actually in the tool update-zones.py calls, and affects all Brazil zones with DST. I'll need to take a closer look tomorrow.
Severity: critical → normal
Flags: needinfo?(geoff)

Let's confirm the problem is the faulty zone information. Here's a copy of Lightning 6.2.4 with the zones fixed. You should be able to install it over the top of the existing one. You'll have to remove it at some point or automatic updates of Lightning will stop happening.

Great!!! It worked.

Okay, well that's a start. I opened a bug about it in the upstream tool, but I'm not hopeful of a quick fix. In the meantime I guess we just fix the zones file by hand and try not to break it? What do you think, MMD?

Flags: needinfo?(makemyday)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Lightning is saving events with wrong hour in 2019 → Error in definition of Brazil time zones with DST

Can you please reference the upstream bug here? I don't see a related message on the tz mailing list [1]. Is the report about the definition itself? If it is, I'm wondering why this hasn't been detected before - either for Lightning or any other consumer of the olson database, since we use and obtain the current definition for quite some time now.

We can edit zones.json maually to fix the issue, but if so, we should probably fix bug 1502832 to update to the latest definition before and make the update script to issue a warning about the need for postprocessing until upstream fixed the issue.

[1] https://mm.icann.org/pipermail/tz/2019-January/thread.html

Flags: needinfo?(makemyday) → needinfo?(geoff)

It's not the database's fault (AFAICT) but the tool we use to change it to ical format. I'm not really happy using it as it's a revival of a fork of something else, but it's the best we've got.

Here's the issue I should've linked before: https://github.com/benfortuna/tzurl/issues/34

Flags: needinfo?(geoff)
Attached patch 1515937-brazil-1.diff (obsolete) — Splinter Review

I see no better way to fix this for now.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9038156 - Flags: review?(makemyday)
Comment on attachment 9038156 [details] [diff] [review] 1515937-brazil-1.diff Thanks, the fix itself is an appropriate bandaid until it is fixed upstream, but I would appreaciate if we can do an update to the latest tz version (bug 1502832) before applying (and uplifting) it to reduce the risk of another regression. Also, can you add a note that gets displayed when running the update script to remind the updating person to re-apply the fix? r+ with that added and the tz definition updated.
Attachment #9038156 - Flags: review?(makemyday) → review+
Attached patch 1515937-2018i.diff (obsolete) — Splinter Review

Timezones update.

Attachment #9042890 - Flags: review?(makemyday)
Attachment #9038156 - Attachment is obsolete: true
Attachment #9042891 - Flags: review+
Attachment #9042891 - Flags: approval-calendar-esr?(philipp)
Attachment #9042891 - Flags: approval-calendar-beta?(philipp)
Attachment #9042890 - Flags: approval-calendar-esr?(philipp)
Attachment #9042890 - Flags: approval-calendar-beta?(philipp)

Can you please crosscheck the tz update - something is fishy, Asia/Tokyo got removed the tzname.

I noticed that and didn't check it. :-/

Attachment #9042890 - Attachment is obsolete: true
Attachment #9042890 - Flags: review?(makemyday)
Attachment #9042890 - Flags: approval-calendar-esr?(philipp)
Attachment #9042890 - Flags: approval-calendar-beta?(philipp)
Attachment #9042922 - Flags: review?(makemyday)
Attachment #9042922 - Flags: approval-calendar-esr?(philipp)
Attachment #9042922 - Flags: approval-calendar-beta?(philipp)
Comment on attachment 9042922 [details] [diff] [review] 1515937-2018i-2.diff Review of attachment 9042922 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, looks good. Please also resolve bug 1502832 when landing this since you did the work here.
Attachment #9042922 - Flags: review?(makemyday) → review+
Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/88b96d287e79
Fix broken definition of Brazil time zones with DST. r=MakeMyDay

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED

The other part needs to land too…

Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/6b7f5a396d0a
Update timezone definitions to version 2018i. r=MakeMyDay

Keywords: checkin-needed
Target Milestone: --- → 6.9
Attachment #9042891 - Flags: approval-calendar-esr?(philipp)
Attachment #9042891 - Flags: approval-calendar-esr+
Attachment #9042891 - Flags: approval-calendar-beta?(philipp)
Attachment #9042891 - Flags: approval-calendar-beta+
Attachment #9042922 - Flags: approval-calendar-esr?(philipp)
Attachment #9042922 - Flags: approval-calendar-esr+
Attachment #9042922 - Flags: approval-calendar-beta?(philipp)
Attachment #9042922 - Flags: approval-calendar-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: