Unable to save the date using GDC #1890

99vinod opened this Issue Jan 6, 2017 · 2 comments


None yet

2 participants

99vinod commented Jan 6, 2017 edited

Hi am unable to save the Date into DB and also Json data,
column name is "TestDate" timestamp without time zone in Postgre and
"SampleJson" json;

c# code:

GlobalDiagnosticsContext.Set("TestDate", "2017-06-15");
GlobalDiagnosticsContext.Set("SampleJson", jsondata);

nlog code: <parameter name="@TestDate" layout=${gdc:TestDate}/>
nlog code : <parameter name="@SampleJson" layout=${gdc:SampleJson}>

and am using "NLog": "5.0.0-beta03", and the code is in .net Core.
I tried with all the formats of dates like shortdate, longdate, date with formats etc when am sendng the date directly into query in Nlog its working.


Please check the internal log


Any luck with this?

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