Closed nmrgt closed 6 months ago
The update introduces a new command-line option -l, --last-days <days>
for the ProcessGeoCommand
in the API. This option allows users to specify a number of days from which to process data, automatically setting the options.after
parameter to a date that is the entered number of days prior to the current date, utilizing the date-fns
library for date calculations.
File Path | Change Summary |
---|---|
api/package.json |
Updated @betagouvpdc/evolution-geo version from 1.2.7 to 1.3.1 . |
api/src/pdc/services/acquisition/commands/ProcessGeoCommand.ts |
Added -l, --last-days <days> option to specify the number of days from which to process data. Default options.after now uses date-fns to calculate the date. |
🐇✨ In the realm of code, a rabbit hops, Adding days to dates as the time drops. With a flick of its tail, a new command, Time bends and shifts on demand. Celebrate, for the data now flows, As the past through the present merrily goes. 🌟📅
Summary by CodeRabbit
@betagouvpdc/evolution-geo
from1.2.7
to1.3.1
.