question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting Card.DueDate goes to the day before

See original GitHub issue

Hi, I’m having problems setting the dueDate of a card.

var serializer = new ManateeSerializer();
TrelloConfiguration.Serializer = serializer;
TrelloConfiguration.Deserializer = serializer;
TrelloConfiguration.JsonFactory = new ManateeFactory();
TrelloConfiguration.RestClientProvider = new Manatee.Trello.WebApi.WebApiClientProvider();
TrelloAuthorization.Default.AppKey = "my app key";
TrelloAuthorization.Default.UserToken = "my user token";
var learningBoard = new Board("my board id");
string listId = learningBoard.Lists.First().Id;
var list = new List(listId);
var member = list.Board.Members.First();
var card = list.Cards.Add("test card 2");
card.DueDate=new DateTime(2016,07,21);

When running this snippet the dueDate on the card is changed to 2016,07,20 at 21:00. I tried with other Dates and it always gives the day before at the same hour. Is this expected and documented somehwere? Sorry if I missed something, just starting to use this API.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
gregsdenniscommented, Jul 22, 2016

Please see Manatee.Trello.ManateeJson v1.5.1.

0reactions
saulosagcommented, Jul 22, 2016

Thank you for replying, I’ll wait further responses.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can You Change Your Credit Card Due Date?
If you adjust your due date for a Capital One credit card, for instance, it can take up to two months for your...
Read more >
How to Change Your Credit Card Payment Due Date
Changing your credit card payment due date can be a fairly easy process. You can learn how by following these few simple steps!...
Read more >
Changing The Due Date On Your Credit Card Bills
Your statement will arrive at least three weeks before your due date, so consider paying your bill immediately upon receiving the statement.
Read more >
What to Know About Your Payment Due Date
Your credit card payment due date will fall on the same date each month. For example, if your payment is due on the...
Read more >
Can I Change My Credit Card Due Date? Yes, Here's How
Most card companies won't let you change your due date to the 29th, 30th or 31st because not all months have these dates....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found