=== TotemClock Hours Calculator ===
Contributors: totemclock
Tags: time calculator, timesheet, working hours, payroll, attendance
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a free, responsive worked-hours and break calculator to any page or post.

== Description ==

TotemClock Hours Calculator adds a lightweight calculator through the shortcode:

`[totemclock_hours_calculator]`

The calculator supports Italian, English, French and German, works on mobile and desktop, handles overnight shifts, and shows both hours and minutes and decimal hours.

This plugin embeds the calculator hosted at totemclock.com. Visitors' clock-in, clock-out and break values are calculated inside the embedded page. The service does not require an account. The embedded calculator includes a visible TotemClock AI link and therefore requires a connection to the external TotemClock service. See the privacy information at https://totemclock.com/en/privacy-cookies/.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
2. Activate TotemClock Hours Calculator.
3. Add `[totemclock_hours_calculator]` to a page or post.

Optional examples:

* `[totemclock_hours_calculator language="it"]`
* `[totemclock_hours_calculator language="en" height="400"]`
* Languages: `auto`, `it`, `en`, `fr`, `de`.

== Frequently Asked Questions ==

= Does the calculator require registration? =

No.

= Is the calculator loaded from another service? =

Yes. The iframe is loaded from totemclock.com so the calculator can receive automatic fixes and language updates. This external-service dependency is disclosed before installation and here in the readme.

= Can I choose a language? =

Yes. Use the language attribute. With `auto`, the plugin uses the WordPress site locale when it is Italian, English, French or German and falls back to English.

== Changelog ==

= 1.0.0 =

* Initial release with responsive shortcode and four languages.

