
11 Aug
2011
11 Aug
'11
1:22 p.m.
Le 2011-08-10 18:53, Gerald Young a écrit :
You should be careful about that because getting your users to type a valid fully and properly formatted timestamp might be difficult.
Understood.
But assuming that, use a Postmaster Filter Filter Body: Deadline: (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) Set X-OTRS-TicketTime2: [***]
(see the gray box on the left of PostMasterFilter).
Yeah, it is all there in the grey box... but I wouldn't have found the regex without your help. Of course, in my case, I don't really care about the time, I only care about the date. Could I do Filter Body: Deadline: (\d{4}-\d{2}-\d{2} Set X-OTRS-TicketTime2: [***] 23:59:59 ?