While trying to create an index in Elasticsearch with date math exprssion in it, wrong index is being created.
Today is 31st Dec 2018, and running following command creates an index named tests-2018.01
#PUT /<tests-{now/w{YYYY.ww}}>
PUT /%3Ctests-%7Bnow%2Fw%7BYYYY.ww%7D%7D%3E
According to ISO-8601, it should have been tests-2019.01.