diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md new file mode 100644 index 000000000..7dc1e3499 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -0,0 +1,29 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**Describe the bug** + +A clear and concise description of what the bug is. + +Also, make sure these boxes are checked [x] before submitting your issue - Thank you! + +- [ ] Searched the problem in issues and in the wiki +- [ ] Hardware used : +- [ ] Provide the output of command ``status 0`` : + +**To Reproduce** +Steps to reproduce the behavior: + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. + +**(Please, remember to close the issue when the problem has been addressed)** diff --git a/.github/ISSUE_TEMPLATE/Custom.md b/.github/ISSUE_TEMPLATE/Custom.md new file mode 100644 index 000000000..62e47446d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Custom.md @@ -0,0 +1,16 @@ +--- +name: Troubleshooting +about: Users Troubleshooting Help + +--- + +Make sure these boxes are checked [x] before submitting your issue - Thank you! + +- [ ] Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues) +- [ ] Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting) +- [ ] Searched the problem in the forum (https://forum.digital-pig.com/) +- [ ] Searched the problem in the discussion group (https://groups.google.com/d/forum/sonoffusers) +- [ ] Hardware used : +- [ ] Provide the output of command ``status 0`` : + +**(Please, remember to close the issue when the problem has been addressed)** diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md b/.github/ISSUE_TEMPLATE/Feature_request.md new file mode 100644 index 000000000..8a0895c8e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- +**Have you look for this feature in other issues and in the wiki?** + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. + +**(Please, remember to close the issue when the problem has been addressed)** diff --git a/sonoff/language/es-AR.h b/sonoff/language/es-AR.h index 64f8fd677..a0f80b73f 100644 --- a/sonoff/language/es-AR.h +++ b/sonoff/language/es-AR.h @@ -102,7 +102,7 @@ #define D_IMMEDIATE "inmediato" // Button immediate #define D_INDEX "Índice" #define D_INFO "Información" -#define D_INFRARED "Infrared" +#define D_INFRARED "Infrarrojo" #define D_INITIALIZED "Inicializado" #define D_IP_ADDRESS "Dirección IP" #define D_LIGHT "Luz" diff --git a/sonoff/support.ino b/sonoff/support.ino index e56d7e540..84760e92b 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -1389,17 +1389,22 @@ void RtcSecond() if (local_time > 1451602800) { // 2016-01-01 int32_t time_offset = Settings.timezone * SECS_PER_HOUR; if (99 == Settings.timezone) { + dstoffset = DaylightSavingTime.offset * SECS_PER_MIN; + stdoffset = StandardTime.offset * SECS_PER_MIN; if (DaylightSavingTime.hemis) { - dstoffset = StandardTime.offset * SECS_PER_MIN; // Southern hemisphere - stdoffset = DaylightSavingTime.offset * SECS_PER_MIN; + // Southern hemisphere + if ((utc_time >= (standard_time - dstoffset)) && (utc_time < (daylight_saving_time - stdoffset))) { + time_offset = stdoffset; // Standard Time + } else { + time_offset = dstoffset; // Daylight Saving Time + } } else { - dstoffset = DaylightSavingTime.offset * SECS_PER_MIN; // Northern hemisphere - stdoffset = StandardTime.offset * SECS_PER_MIN; - } - if ((utc_time >= (daylight_saving_time - stdoffset)) && (utc_time < (standard_time - dstoffset))) { - time_offset = dstoffset; // Daylight Saving Time - } else { - time_offset = stdoffset; // Standard Time + // Northern hemisphere + if ((utc_time >= (daylight_saving_time - stdoffset)) && (utc_time < (standard_time - dstoffset))) { + time_offset = dstoffset; // Daylight Saving Time + } else { + time_offset = stdoffset; // Standard Time + } } } local_time += time_offset;