Opened 3 years ago

Closed 3 years ago

#2191 closed New feature (fixed)

Allow API to modify "website creation date"

Reported by: matt Owned by:
Priority: major Milestone: Piwik 1.3
Component: Core Keywords:
Cc: Sensitive: no


Currently set to the timestamp the website row was added to Mysql, it is often required to change the time in the past

  • when visit generator was called for ex.
  • when we import past logs (eg. apache logs) in piwik for days/weeks in the past

we should add a parameter to Website create/update API functions to allow setting this date in the past

Change History (1)

comment:1 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [4200]) Fixes #2191 the addSite / updateSite APIs now have a startDate parameter so it is possible to load logs that are in the past, and let Piwik know about it (without hacking the ts_created field in the DB)

Note: See TracTickets for help on using tickets.