Components

Auto-Update Your Rails App User's Time zone

If your rails app depends your user’s time zone being set, it is important to keep it up-to-date. they might travel, making their previous set time zone incorrect. this stimulus-only controller will either auto-update the time zone, or ask, via an confirm dialog, to confirm to update their time zone.

  • Simple # Get this component

    ⚠️ JavaScript is disabled for this preview.

    Upon confirm, a PUT-request to a specified endpoint is made. Optionally this can be done done automatically.

The library of components is continuously evolving, with new components added regularly. Check out the changelog for the latest additions and updates.