Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Custom Field of DateTime type #140

Closed
larriant opened this issue Aug 14, 2015 · 3 comments
Closed

User Custom Field of DateTime type #140

larriant opened this issue Aug 14, 2015 · 3 comments

Comments

@larriant
Copy link

Hello,

I am trying to add a Custom Field with a DateTime type to Users. Is this possible?

I'm looking for something like this: user.CustomFields.Add("datecreated", DateTimeOffset.Parse(output[i]))

Thanks

@larriant
Copy link
Author

Also I am having trouble creating a Ticket custom field with a Date time:
ticket.CustomFields.Add(new CustomField() {Id = 26720341, Value =DateTimeOffset.Parse("8/14/2015 11:56:35 AM") });

@mozts2005
Copy link
Member

Please submit a code sample or unit test

@mozts2005
Copy link
Member

closing Issue as there has been no response to questions asked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants