W ustawieniach konta ustawiasz strefę czasową. Jeśli to nie działa to musisz dokonfigurować mysql-a
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
Czas, zegar, clock w SuplaDevice
-
- Posts: 2258
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
Strefa czasowa jest ustawiona na właściwą.
Dzięki za podpowiedź.
https://www.facebook.com/groups/supladiy/
-
- Posts: 9631
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
U mnie działa
Sprawdź proszę najnowsze źródła biblioteki. Brakowało mi return'ów w jednej funkcji, a to generuje "underfined behavior" w C++, więc może to pomoże
Kiedy będzie Supla Offline Party / SOP#2025 ?
-
- Posts: 2258
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
Niestety coś mi nie idzie..
aczkolwiek po tym zabiegu czas z serwera pobiera się właściwy
Code: Select all
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Enter password:
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Code: Select all
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo/Poland | mysql -u root -p mysql
There were fatal errors during processing of zoneinfo directory
Enter password:
root@d79411d7cdea:/# date
Sun Oct 18 22:54:27 CEST 2020
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo/Europe/Warsaw | mysql -u root -p mysql
There were fatal errors during processing of zoneinfo directory
Enter password:
root@d79411d7cdea:/#
https://www.facebook.com/groups/supladiy/
-
- Posts: 2258
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
A widzisz, u mnie już też dzięki!
Code: Select all
RollerShutter[0] new value from server: STOP
Received: [53 55 50 4C 41 C 6 0 0 0 6E 0 0 0 11 0 0 0 1 0 0 0 0 32 0 32 0 6E 0 0 0 0 0 0 0 53 55 50 4C 41 ]
RollerShutter[0] new value from server: 100
Channel(0) value changed to 1
Sending: [53 55 50 4C 41 C 5 0 0 0 64 0 0 0 9 0 0 0 0 1 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 2
Sending: [53 55 50 4C 41 C 6 0 0 0 64 0 0 0 9 0 0 0 0 2 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 3
Channel(0) value changed to 4
Sending: [53 55 50 4C 41 C 7 0 0 0 64 0 0 0 9 0 0 0 0 4 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 5
Channel(0) value changed to 6
Sending: [53 55 50 4C 41 C 8 0 0 0 64 0 0 0 9 0 0 0 0 6 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 7
Channel(0) value changed to 8
Sending: [53 55 50 4C 41 C 9 0 0 0 64 0 0 0 9 0 0 0 0 8 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 9
Channel(0) value changed to 10
Sending: [53 55 50 4C 41 C A 0 0 0 64 0 0 0 9 0 0 0 0 A 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 11
Channel(0) value changed to 12
Sending: [53 55 50 4C 41 C B 0 0 0 64 0 0 0 9 0 0 0 0 C 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 13
Channel(0) value changed to 14
Sending: [53 55 50 4C 41 C C 0 0 0 64 0 0 0 9 0 0 0 0 E 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 15
Channel(0) value changed to 16
Sending: [53 55 50 4C 41 C D 0 0 0 64 0 0 0 9 0 0 0 0 10 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 17
Channel(0) value changed to 18
Sending: [53 55 50 4C 41 C E 0 0 0 64 0 0 0 9 0 0 0 0 12 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 19
Channel(0) value changed to 20
Channel(0) value changed to 21
Sending: [53 55 50 4C 41 C F 0 0 0 64 0 0 0 9 0 0 0 0 15 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 22
Channel(0) value changed to 23
Sending: [53 55 50 4C 41 C 10 0 0 0 64 0 0 0 9 0 0 0 0 17 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 24
Channel(0) value changed to 25
Sending: [53 55 50 4C 41 C 11 0 0 0 64 0 0 0 9 0 0 0 0 19 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 26
Channel(0) value changed to 27
Sending: [53 55 50 4C 41 C 12 0 0 0 64 0 0 0 9 0 0 0 0 1B 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 28
Channel(0) value changed to 29
Sending: [53 55 50 4C 41 C 13 0 0 0 64 0 0 0 9 0 0 0 0 1D 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 30
Received: [53 55 50 4C 41 C 7 0 0 0 6E 0 0 0 11 0 0 0 1 0 0 0 0 32 0 32 0 0 0 0 0 0 0 0 0 53 55 50 4C 41 ]
RollerShutter[0] new value from server: STOP
Sending: [53 55 50 4C 41 C 14 0 0 0 64 0 0 0 9 0 0 0 0 1E 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
https://www.facebook.com/groups/supladiy/
-
- Posts: 2258
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
Przemku, czas na supla-cloud i supla-server nie zmienił się automatycznie. Prawdopodobnie coś popsułem.
Masz może pomysł, jakie ustawienie popsuło automatyczną zmianę czasu?
https://www.facebook.com/groups/supladiy/
-
- Posts: 19207
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
W systemie musisz zmienić czas.
-
- Posts: 19207
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
SQL bierze czas z systemu.