Quote:
Originally Posted by oren64
Both do the same thing, this why I used list_item so separate them to year and month.
|
OK, I misread what the problem was.
Quote:
But this is not the problem, it doesn't activate the program in the link, I'm doing something wrong or it's not possible.
Code:
https://www.amazon.com/gp/search/ref=sr_adv_b/?search-alias=stripbooks&unfiltered=1&field-keywords=&field-author={author}&field-title=&field-isbn=&field-publisher=&node=&field-p_n_condition-type=&p_n_feature_browse-bin=618073011&field-age_range=&field-language=English&field-dateop=After&field-datemod=program: format_date(today(), 'MM')&field-dateyear=program: format_date(today(), 'yyyy')&sort=relevanceexprank&Adv-Srch-Books-Submit.x=50&Adv-Srch-Books-Submit.y=
I did add two custom column for the month and year and it's working okay, but I think it's a waste.
|
I doubt using general program mode like that will work. It needs something to tell the parser being used that the template is starting. But, template program mode should work:
Code:
{:'format_date(today(),'yyyy')'}
{:'format_date(today(),'MM')'}
Edit: The list_item will probably work as well. But, I'll stick with treating a date as a date.