Correctly register API-based time formatter

Change-Id: I8b7092e2c480cf9421ffe516b761a012df45d9ae
Merge "Correctly register API-based time formatter"