esp-idf/components
Ivan Grokhotkov d7db6c3148 fatfs: fix incorrect mtime returned for files created during DST
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.

According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.

Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.

Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2023-02-09 11:28:29 +00:00
..
app_trace apptrace: move all apptrace related functions to IRAM 2022-06-29 10:21:32 +08:00
app_update bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check. 2022-01-25 20:01:00 +08:00
asio asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap 2021-11-23 22:39:58 +08:00
bootloader (Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file 2022-08-22 02:43:50 +00:00
bootloader_support Merge branch 'refactor/flash_qio_overidable_v4.3' into 'release/v4.3' 2022-08-19 13:58:26 +08:00
bt Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v4.3' into 'release/v4.3' 2023-02-04 01:53:35 +08:00
cbor esp_ipc: fix race condition in ipc task 2021-09-17 23:19:27 +03:00
cmock
coap asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap 2021-11-23 22:39:58 +08:00
console console: linenoise: fix usage of an uninitialized buffer 2022-04-20 16:03:23 +05:30
cxx vfs_usb_serial: set secondary selection for making usb port can output under default menu 2022-05-12 12:23:35 +08:00
driver Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.3' into 'release/v4.3' 2022-12-14 17:43:27 +08:00
efuse efuse: Fix burn operation when data was written directly to regs 2022-07-05 17:37:48 +08:00
esp32 wifi/bt: fix part of modem module not reset when power up 2022-10-26 20:47:10 +08:00
esp32c3 bugfix: esprv_intc_int_set_type should not use bitmap parameter 2022-10-14 15:27:19 +08:00
esp32s2 bugfix: fix redefined _iram_end 2022-11-18 19:50:23 +08:00
esp32s3 psram: remove CS/CLK pin settings in kconfig on ESP32S2 2022-11-11 18:15:54 +08:00
esp_adc_cal adc: upgrade adc calibration algorithm to version 2 on c3 2022-02-15 15:27:25 +08:00
esp_common dhcp server:bugfix softap excedes the range of subnet 2023-01-11 09:53:48 +08:00
esp_eth esp_eth: EMAC start/stop optimization 2022-03-07 14:54:55 +01:00
esp_event [esp_event]: fixed and improved docs 2021-09-10 10:12:39 +08:00
esp_gdbstub fix (gdbstub): added xtensa, esp32 as public includes in component.mk 2021-11-10 13:45:05 +08:00
esp_hid fix esp hid crash when auth failed 2022-10-14 16:02:58 +08:00
esp_http_client esp_http_client: Enable support of crt_bundle in esp_http_client 2022-06-01 14:38:51 +05:30
esp_http_server fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame 2022-05-06 17:58:52 +08:00
esp_https_ota esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set 2022-09-06 13:54:22 +05:30
esp_https_server Fixed ssl_ctx not being freed at the time of error. 2020-11-25 13:47:38 +05:30
esp_hw_support Merge branch 'test/rtc_8m_d256_v4.3' into 'release/v4.3' 2022-11-12 00:45:11 +08:00
esp_ipc esp_ipc: Fix a case when ipc_task() can wake up blocking task early 2022-06-09 10:59:30 +00:00
esp_local_ctrl Added support for security1 in local control 2021-09-21 09:21:18 +05:30
esp_netif dhcp server:bugfix softap excedes the range of subnet 2023-01-11 09:53:48 +08:00
esp_pm pm_impl: fix neither enter light sleep nor enter waiti state in idle task 2022-04-21 14:38:17 +08:00
esp_ringbuf ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers 2021-12-27 15:02:27 +08:00
esp_rom esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1 2023-01-11 11:04:18 +08:00
esp_serial_slave_link SPI: change the different soc's spi defintion location and fix the bug that wrong dummy cycle under quad spi mode 2022-09-15 16:03:54 +08:00
esp_system esp_system: use ESP_CONSOLE_UART_NUM instead of CONSOLE_UART_NUM 2022-11-28 10:37:39 +08:00
esp_timer spi_flash: No CPU release time for an erase operation when OS is not running 2021-11-04 15:18:44 +08:00
esp_websocket_client transport: Add CONFI_WS_TRANSPORT for optimize the code size 2021-06-23 11:26:56 +08:00
esp_wifi esp_wifi:Add wifi station config for enabling transition_disbale feature 2023-01-16 00:59:04 +05:30
esp-tls esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t 2022-12-21 14:59:58 +05:30
espcoredump coredump: backport the coredump test data from v4.4 2022-02-28 12:29:08 +07:00
esptool_py efuse: update efuse name (backport v4.3) 2022-05-31 14:42:05 +08:00
expat expat: Upgrade expat to release v2.5.0 2022-11-28 13:57:22 +05:30
fatfs fatfs: fix incorrect mtime returned for files created during DST 2023-02-09 11:28:29 +00:00
freemodbus freemodbus: fix rts enable fail when transmit frame 2022-11-09 02:31:15 +00:00
freertos freertos: Adds new APIs to set/get and restore base priority 2022-10-14 19:04:44 +08:00
hal Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.3' into 'release/v4.3' 2022-12-14 17:43:27 +08:00
heap SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram 2022-08-22 02:45:10 +00:00
idf_test fix (esp_event): lowered performance threshold for esp_event test 2022-08-19 12:02:42 +02:00
jsmn
json cJSON: Update submodule to latest release. 2021-08-30 13:16:55 +05:30
libsodium libsodium: fix source directory names to address build issues with Make 2021-08-12 08:43:35 +05:30
log Merge branch 'feature/c3_IDF-2554' into 'master' 2021-01-13 12:55:21 +08:00
lwip dhcp server:bugfix softap excedes the range of subnet 2023-01-11 09:53:48 +08:00
mbedtls mbedtls/port: added stream_block parameter sanity check 2023-01-25 15:40:45 +05:30
mdns components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2022-03-11 10:48:21 +00:00
mqtt [mqtt] Fix esp_mqtt_client_enqueue for len=0 2022-10-04 05:14:13 +00:00
newlib esp_hw_support: Fix time jump after reboot 2022-11-02 19:38:26 +08:00
nghttp
nvs_flash Merge branch 'bugfix/nvs_part_ptr_wrong_init_4.3' into 'release/v4.3' 2022-08-19 13:59:12 +08:00
openssl
partition_table partition_table: Fix case when a few similar to otadata partitions in the table 2021-10-26 16:07:31 +08:00
perfmon esp32c3: Disable components that are not yet supported 2020-12-31 09:27:38 +11:00
protobuf-c
protocomm Fix iOS advertisement response and simplify 2022-05-16 04:08:12 +00:00
pthread pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific 2021-12-21 01:27:49 +00:00
riscv RISC-V: Fix vectors.S assembly file indentation and macro usage 2022-04-22 13:17:59 +03:00
sdmmc Fix minor documentation issue 2020-12-25 15:46:36 +08:00
soc bt: fix bt sleep flow hangs in btdm_sleep_clock_sync 2022-12-01 20:54:45 +08:00
spi_flash freertos: Adds new APIs to set/get and restore base priority 2022-10-14 19:04:44 +08:00
spiffs spiffs: add init checks for partition alignment and data types 2022-04-20 12:53:57 +02:00
tcp_transport tcp_transport: Add option to enable crt_bundle for SSL connection 2022-06-01 14:39:01 +05:30
tcpip_adapter components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components 2021-04-12 05:42:50 +00:00
tinyusb esp_ipc: fix race condition in ipc task 2021-09-17 23:19:27 +03:00
touch_element touch_element: add unit test for Touch Element lib 2022-04-22 03:13:25 +00:00
ulp ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets 2021-07-28 18:15:38 +08:00
unity spi_flash: mocking should be possible now 2020-12-14 18:53:14 +08:00
vfs vfs: Fix potential select() race if both sock and other-fd trigger 2022-06-21 16:39:58 +00:00
wear_levelling docs: update sdmmc and vfs cn trans 2022-02-22 11:07:16 +08:00
wifi_provisioning Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write 2022-11-25 14:21:13 +05:30
wpa_supplicant esp_wifi: Add check for wps start state 2023-02-03 03:08:17 +00:00
xtensa freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame 2022-07-04 18:27:26 +08:00