Skip to Content
1
Former Member
Jul 26, 2016 at 10:43 AM

rulebased promotions and time service

558 Views

Hi experts,

our current project will run globally and will have to support different time zones. For this reason, time evaluation (flexible search queries, cms time restrictions, ...) heaviliy relies on de.hybris.platform.servicelayer.time.TimeService (session attribute "currentDate").

Of course, also evaluation of startDate/endDate of (rule based) promotions should take the time zone into account. Unfortunately, it seems drools based evaluation using "date-expires" and "date-effective" works against system clock instead of TimeService#getCurrentTime().

Is there any chance to change this behavior, so also drools time/date evaluation use TimeService#getCurrentTime()?

Regards, Norbert