robotframework/robotframework

DateTime: Support adding months and yeards to dates

Aperta

#4890 aperta il 7 ott 2023

 (14 commenti) (0 reazioni) (0 assegnatari)Python (2220 fork)batch import
effort: mediumhelp wantedpriority: medium

Metriche repository

Star
 (8672 stelle)
Metriche merge PR
 (Merge medio 1g 3h) (1 PR mergiata in 30 g)

Descrizione

Hi, In Robot currently, we don't have the option to add months to the current data in the DateTime library. We can now add Hours, Days, and, Years using Add Time to data.

${one_month_later} Add Time To Date ${current_date} 1 months

it we try to add the above it will not recognize as a keyword.

Guida contributor