Skip to content

Commit

Permalink
Add extra time zone logging, apache#846
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Dec 30, 2024
1 parent a622e58 commit e5f3952
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ private void TestQuery(string queryStr, int expectedDocCount)
TopDocs topDocs = searcher!.Search(query, 1000);

string msg = $"Query <{queryStr}> retrieved {topDocs.TotalHits} document(s), {expectedDocCount} document(s) expected. " +
$"[LOCALE: {LOCALE}, TIMEZONE: {TIMEZONE}, DATE_STYLE: {DATE_STYLE}, TIME_STYLE: {TIME_STYLE}]";
$"[LOCALE: {LOCALE}, TIMEZONE: {{ Id: {TIMEZONE!.Id}, BaseUtcOffset: {TIMEZONE!.BaseUtcOffset}, Serialized: \"{TIMEZONE.ToSerializedString()}\" }}, DATE_STYLE: {DATE_STYLE}, TIME_STYLE: {TIME_STYLE}]";

if (Verbose) Console.WriteLine(msg);

Expand Down

0 comments on commit e5f3952

Please sign in to comment.