Elasticsearch - JSON date payload being converted to type long, cannot use for range queries

This can not happen. I mean the way you described it can not happen. You should see rejection or something.

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.