MARKETPLACE
PLUGINS
GENERATE DATES
Generate Dates logo

Generate Dates

Published June 2024
   •    Updated this week

Plugin details

EN-US:
This plugin provides two ways to generate a list of dates between a given initial date and an end date: client-side and server-side. Below are the details and use cases for each method.

This plugin generates a list of dates between an initial date and an end date. It supports both client-side and server-side generation of dates, ensuring flexibility based on the use case.

"[CLIENTSIDE]-GenerateDates" element:

Use Case: Ideal for real-time interactions where immediate feedback is needed without server latency.

Behavior: When the initial date is greater than the end date, it triggers an event "[CLIENTSIDE]-GenerateDates Initial date is higher than end date". Otherwise, it publishes the list of dates as a state and triggers the event "[CLIENTSIDE]-GenerateDates  Dates generated".

"[SERVER SIDE] - Generate Dates " action:

Use Case: Suitable for scenarios where the date generation needs to be handled on the server, such as when dealing with large datasets or requiring server-side validation.

Behavior: It generates the list of dates and returns them along with an error flag if the initial date is greater than the end date.

If you want to talk to me, send me an email: [email protected]

PT-BR:

Este plugin gera uma lista de datas entre uma data inicial e uma data final. Ele suporta a geração de datas tanto no lado do cliente quanto no lado do servidor, garantindo flexibilidade com base no caso de uso.

Elemento "[CLIENTSIDE]-GenerateDates":

Caso de Uso: Ideal para interações em tempo real onde o feedback imediato é necessário sem latência do servidor.

Comportamento: Quando a data inicial é maior que a data final, aciona um evento "[CLIENTSIDE]-GenerateDates Initial date is higher than end date". Caso contrário, publica a lista de datas como um estado e aciona o evento "[CLIENTSIDE]-GenerateDates  Dates generated".

Ação "[SERVER SIDE] - Generate Dates ":

Caso de Uso: Adequado para cenários onde a geração de datas precisa ser tratada no servidor, como ao lidar com grandes conjuntos de dados ou requerer validação do lado do servidor.

Comportamento: Gera a lista de datas e as retorna junto com uma flag de erro se a data inicial for maior que a data final.

Se você quiser conversar, me mande um email: [email protected]

Free

For everyone

stars   •   0 ratings
54 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Andre logo
Andre
Joined 2022   •   15 Plugins
View contributor profile

Instructions

EN-US: Client-side: put "[CLIENTSIDE]-GenerateDates" element in your app and use "[CLIENT SIDE] - Generate dates" action to generate dates.

Server-side: just use "[SERVER SIDE] - Generate Dates " action to generate dates.

PT-BR:
Client-side: coloque o elemento "[CLIENTSIDE]-GenerateDates" na tela e use a ação "[CLIENT SIDE] - Generate dates" para gerar as datas.

Server-side: apenas use a ação "[SERVER SIDE] - Generate Dates" para gerar as datas.

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Data (things)   •   Technical   •   Productivity   •   Calendar   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble