TehiesHomes For Sale
Xon - User Date Time Format Settings

Xon - User Date Time Format Settings 1.1.1

Allow users to choose individual Date and Time Formats
Compatible XF Versions
  1. 2.2
  2. 2.3
Allows users to override the language-level date and time format settings.

Adds two new User Custom Fields:
  1. Preferred Date Format
    • All (non-custom) formats from the admin panel
    • Full-year m/d/y and d/m/y formats
    • ISO 8601 YYYY-MM-DD format
  2. Preferred Time Format
    • 12 and 24 hour formats
They are both optional and apply individually. A user who does not select an option will get the setting defined in their selected language for that field.

If you do not wish to allow selection of both options then the relevant custom field can be disabled or removed. In addition, specific options can be removed from the user fields as well without causing problems.

To add new options, the code of the extension will need to be edited as the list of potential format strings is hardcoded. This is due to how multiselect options function, the format string can't be the option value directly and thus needs an option to format string mapping.

Both fields default to on for user registration, as Date/Time formats can be very important to users. This can be safely toggled off in the custom user field settings if that isn't desired.

Screenshots of the only user-facing UI, the two added custom fields:

Xon User Date Time Format Settings-1.webp



Xon User Date Time Format Settings-2.webp
Similar resources Most view View more

XenForo Theme Showcase

Discover professionally designed XenForo styles to enhance your community's appearance. TechiesHome.com highlights quality themes from trusted developers.

Featured XenForo Theme Collections

Recommended XenForo Developers

Explore themes from these industry leaders:

ThemeHouse, PixelExit, XenFocus, DohTheme, XenConcept, XenGentr

Why Trust Our Recommendations?

  • Quality Verified: We evaluate design and performance standards
  • Current Options: Regularly updated selections
  • Direct Sources: Links to official developer pages
  • Community Feedback: Real user experiences considered

Find the perfect style for your XenForo community through our curated theme directory.

Visit TechiesHome for more community resources.

Back
Top