1

In my Debian 7 OS:

cat /etc/timezone
Asia/Shanghai

In one of my friends' Debian 7 OS:

cat /etc/timezone 
Etc/UTC

Why is it not of the format of Continent/City?

1
  • 1
    UTC is not a location, so it is a special case and goes into Etc.
    – jw013
    Feb 24 '15 at 14:14
3

UTC is considered a valid timezone setting in the tz database. It isn't restricted to just continent/city.

You can find a complete list of valid options in this wiki page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.