Changing the Date/Time Format

You can configure your system's Locale time in order to update the way Beyond Compare 4 displays timestamps.

Windows logo Windows

Go to your Control Panel and select your Regional and Language settings.  From the Regional Options tab, you can either select a predefined regional format or customize your current one.  These changes will modify how your date and time are displayed in Windows Explorer and Beyond Compare.

Linux logo Linux

Beyond Compare picks up the 'locale' system that linux uses.  You cannot change the time format directly in BC4 but you can change your Linux system Locale and BC4 will display those changes.  Here is a web link that talks about how to do it (unfortunately not as simple as changing to 24 hour mode from a control panel).

For example, in Ubuntu 10.04:

  1. sudo cp /usr/share/i18n/locales/en_US /usr/share/i18n/locales/en_DFJ
  2. sudo vi /usr/share/i18n/locales/en_DFJ
    Edit the line for t_fmt_ampm and remove the last three atoms, i.e. <U0020><U0025><U0070>.  Be sure to leave it all one line and include the closing quotation mark.  This will remove the %p from the LC_TIME string that says to use AM/PM.
  3. sudo vi /var/lib/locales/supported.d/en
    Add this line: en_DFJ.UTF-8 UTF-8
  4. sudo locale-gen
    This will regenerate all the locales listed in /var/lib/locales/supported
  5. sudo vi /etc/environment
    Add this line: LC_TIME="en_DFJ.UTF-8"

The above will get a custom locale built with the AM/PM turned off and then set LC_TIME to use the custom version.  You will have to log out and back in for it to take affect.

Copyright © 2023 Scooter Software, Inc.