New answers tagged time-zone
I believe the problem is that Debian actually changes system lock to UTC and then adjust its display the user desired timezone. XP on the other hand changes system lock to your desired timezone. Take a look at this answer for info how to change your Debian timezone Changing timezone on Debian keeps Local Time in UTC
This is presumably a bit late for the OP, and more intended for other searchers who arrive here. If you need a non-interactive solution, try this solution from changing timezone with dpkg-reconfigure tzdata and debconf-set-selections echo "Europe/Zurich" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata You can figure out your timezone by ...
The easiest, and broadly speaking most general way to find an answer to this kind of questions, is to issue the command: man -k keyword The -k flag specifies that what follows is a keyword, not the exact name of a command. In your case it produces the following output: # man -k timezone Time::Zone (3pm) - - miscellaneous timezone manipulations ...
The easiest way, per the official documentation, to do this from the command line, is: echo "America/Sao_Paulo" | sudo tee /etc/timezone sudo dpkg-reconfigure --frontend noninteractive tzdata You shouldn't have to restart any service after that.
Top 50 recent answers are included