Time Zone Public user


I have found that it is possible to change the timezone in the Calendar using the Prefs.php file, (ADMIN and PREFERENCES) and that works for the default user. However when trying to change the preferences for the Public user I get the message "Invalid admin setting name “public” "

Can anyone tell me where this comes from and how to rectify it?
Or: where can I change the timezone and in which php file?