Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Added DateTime data type support. #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tompatros
Copy link

RemoteTK didn't seem to support DateTime fields when passed in the remote actions (kept getting illegal assignment errors back). This should fix it. Also added a "formatDateTime" helper method to remotetk.Client to ensure the format is consistent with what DateTime.valueOf() is expecting in Apex.

RemoteTK didn't seem to support datetime fields. Part of supporting them is sending the datetime value in the right format, which this function does per the Apex docs.
DateTime data type was missing. Addition of formatDateTime in RemoteTK.component helps ensure proper format is passed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant