A polyfill for utilizing the x-calendar component and returning an ISO-formatted date string to the server. Part of the Brick library (Note: currently out-dated, use the Brick version instead)