Skip to content

Commit

Permalink
Don't capitalize the date string in IMAP search queries
Browse files Browse the repository at this point in the history
Fixes issue #252
  • Loading branch information
jstedfast committed Oct 19, 2015
1 parent 9bd7a5c commit b138f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MailKit/Net/Imap/ImapFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7691,7 +7691,7 @@ static bool IsAscii (string text)

static string FormatDateTime (DateTime date)
{
return date.ToString ("d-MMM-yyyy", CultureInfo.InvariantCulture).ToUpperInvariant ();
return date.ToString ("d-MMM-yyyy", CultureInfo.InvariantCulture);
}

void BuildQuery (StringBuilder builder, SearchQuery query, List<string> args, bool parens, ref bool ascii)
Expand Down

0 comments on commit b138f9e

Please sign in to comment.