Here are software that related with Samsung C series TVs, applications, programs that will run in your TV or computer...This forum is NOT FOR USER QUESTIONS or Problems.
zoelechat wrote:I precisely read posts above and that's why I asked the question "is it a wanted behavior?"
Isn't it necessary to set timezone when you're not in UTC zone? (maybe your app should do it automatically? Using this famous offset)
What I see is just that "date -u" value is wrong, giving localtime instead of expected UTC time. I don't know if that can really be a problem (especially when sync is needed...)
On linux you don't set a time zone using any api. You do it this way:
If you want to use your time zone and not UTC set time using -u switch and make correct link. I have one TV configured this way
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":) If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!If you want root DISABLE internet access to your device!!!!DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat wrote:I'd already tried to set timezone but starting with wrong UTC was not compliant...
This --utc switch does the job perfectly, thanks!
(Now files written by TV have the right date/time, no more "1 hour later" offset )
It really depends what you want to achieve Now you have wrong time in date
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":) If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!If you want root DISABLE internet access to your device!!!!DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
sectroyer wrote:It really depends what you want to achieve
Certainly
sectroyer wrote:Now you have wrong time in date
No, UTC is Universal, Unique and due to be the same all over the world with no offset, now it is correctly set all times and timezones are correct.
I know it's universal. If you have set up the timezone correctly than yes you have everything okay. What is your TV? I know on C setting timezone is not trivial It's quite easy on E. Not sure about others
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":) If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!If you want root DISABLE internet access to your device!!!!DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
sectroyer wrote:I know it's universal. If you have set up the timezone correctly than yes you have everything okay. What is your TV? I know on C setting timezone is not trivial It's quite easy on E. Not sure about others
My TV is E and I didn't succeed in setting any timezone yet, I don't want to touch to TV protected files ('localtime') until I'm really sure of what I'm doing (maybe you can lead me to a safe step-by-step procedure? )
I just tried local 'export TZ' that gave me expected result and I noticed that TV files through Samba server are now sync to client time, even without timezone set...
ls -l /etc/localtime
lrwxrwxrwx 1 root 0 19 Feb 18 2013 /etc/localtime -> ../tmp/CSP_TimeZone
so /etc/localtime points to not existent file in /tmp/ You can just copy correct local time to that place.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":) If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!If you want root DISABLE internet access to your device!!!!DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Yeah, export TZ works but it affects only local (for example launched in a script, timezone concerns only script itself )
Nice, I didn't notice that localtime thing, now I have to find a timezone file to put in /tmp...
edit: ok, found (no Linux there but got one in Cygwin). Works perfectly!
On C (D?) it is not so easy. There is no /etc/localtime so export TZ seems the only option. However you can do one more thing (I did it ). The location of local time is stored in libc. You can mount copy original libc to $SYSROOT/opt/lib/libc.so.6. Then you open it in any hex editor of your choosing and change strings /etc/localtime to /dtv/locatime. The last thing is to
mount -o bind $SYSROOT/opt/lib/libc.so.6 /lib/libc.so.6
And finally copy correct localtime file to /dtv/.
Now you have correct timezone on C(D?).
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":) If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!If you want root DISABLE internet access to your device!!!!DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!