Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| timezone [2020/02/20 17:17] – created lbrpdx | timezone [2022/06/12 08:37] (current) – moved troubleshooting info here atari | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Timezone===== | + | ====== Timezone |
| - | By default, Batocera is configured for Central European Time (CET) timezone. | + | By default, Batocera is configured for Central European Time (CET) timezone. |
| - | system.timezone=America/ | + | |
| + | In Batocera **v31** and higher, you can select your own timezone from the menu **SYSTEM SETTINGS** -> **TIMEZONE**. From the same menu, you can also toggle the clock to 12-hour format if desired. | ||
| - | To list all the suitable timezones and select yours, you can [[access_the_batocera_via_ssh|connect to your Batocera system]] and type: | + | ==== Older versions of Batocera ==== |
| + | |||
| + | To adapt to your local time zone, you need to edit ''/ | ||
| + | system.timezone=America/ | ||
| + | |||
| + | To list all the group names of the available timezone, [[:access_the_batocera_via_ssh|from SSH/ | ||
| # ls / | # ls / | ||
| - | This command returns several directories (each one being a group of time zones). | + | This command returns several directories (each one being a group of time zones). |
| - | # ls / | + | # ls / |
| + | |||
| + | These instructions are still valid for Batocera **v31** and higher, if you need to change them manually. | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== Batocera keeps resetting my clock whenever I boot back into Windows! ==== | ||
| + | |||
| + | This is not actually Batocera, [[https:// | ||
| + | |||
| + | === Fix this in Windows manually === | ||
| + | |||
| + | The fix for this on Windows (summarized from the [[https:// | ||
| + | - Hit '' | ||
| + | - Make a backup by going to **File** -> **Export...** | ||
| + | - Navigate to '' | ||
| + | - Add a '' | ||
| + | For 64-bit versions of Windows 7 and older builds of Windows 10, there was a bug that made it necessary to have a '' | ||
| + | </ | ||
| + | - Yeehaw, you're done. Windows might ask to update the clock, let it do so | ||
| + | |||
| + | === Fix this in Windows automatically === | ||
| + | |||
| + | You can also just download and install/ | ||
| + | |||
| + | <file - UTCtimefix.reg> | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | ||
| + | " | ||
| + | |||
| + | </ | ||
| + | |||
| + | Just double-click the file, or go to Regedit' | ||
| + | |||
| + | === Changing Batocera to use Windows' | ||
| + | |||
| + | You can use a custom script in Batocera **v32** and up to tell it to use the local time just like Windows does instead. | ||
| + | |||
| + | Put the following file into ''/ | ||
| + | |||
| + | <file bash boot-custom.sh> | ||
| + | # | ||
| + | |||
| + | hwclock --systz --localtime | ||
| + | |||
| + | </ | ||
- timezone.1582219061.txt.gz
- Last modified: 6 years ago
- by lbrpdx