This project is not covered by Drupal’s security advisory policy.

The Current date and time module allows administrators to display a dynamic date and time block on their Drupal site, showcasing the current date and time based on the selected country's timezone. Users can easily configure and customize the displayed time format, ensuring accurate and localized time information for a global audience.

Features

The Current date and time module allows administrators to display a dynamic date and time block at any region on their Drupal site.
The module defines a custom block named "Zone Block."
The module includes a custom service (TimestampService) responsible for handling timestamp-related operations, such as formatting timestamps based on a specified date format and timezone.
The custom block provides a configuration form that allows administrators to set parameters such as the date and time format, country, and timezone.
If someone wants a functionality of date and time in their site then they can use this module easily.
The module introduces a custom service (TimestampService) that encapsulates timestamp-related operations. Developers can study this implementation as a reference for creating their own services.

Post-Installation

After installing the "Current date and time" module, likely by placing it in the modules/contrib directory of your Drupal installation and enabling it through the Drupal administration interface, the module becomes part of your Drupal site.
The module defines a custom block named "Zone Block." This block can be placed in regions of your Drupal theme through the Block Layout interface (admin/structure/block).
When you place the "Demo Block" in a region, you have the option to configure it by clicking on the "Configure" link for that block.
The block configuration form appears and allows you to set parameters such as:
Date and Time Format: The format in which the timestamp should be displayed.
Country: The country for which the timestamp should be displayed.
Timezone: The timezone for the selected country.
The module likely includes a custom service named TimestampService. This service is injected into the "Zone Block" through dependency injection.

Additional Requirements

This module appears to rely on standard Drupal core functionality and does not explicitly mention any additional dependencies on contributed modules, libraries, or external APIs.

Supporting organizations: 

Project information

Releases