File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ internal Dictionary<string, string> ToDictionary() {
59
59
var map = Author . ToDictionary ( ) ;
60
60
if ( ! string . IsNullOrWhiteSpace ( Content ) ) map [ "comment_content" ] = Content ;
61
61
// TODO if (Context.Count > 0) map["comment_context"] = string.Join(',', Context);
62
- if ( Date is not null ) map [ "comment_date_gmt" ] = Date ? . ToUniversalTime ( ) . ToString ( "o" ) ! ;
62
+ if ( Date is not null ) map [ "comment_date_gmt" ] = Date . Value . ToUniversalTime ( ) . ToString ( "o" ) ;
63
63
if ( Permalink is not null ) map [ "permalink" ] = Permalink . ToString ( ) ;
64
- if ( PostModified is not null ) map [ "comment_post_modified_gmt" ] = PostModified ? . ToUniversalTime ( ) . ToString ( "o" ) ! ;
64
+ if ( PostModified is not null ) map [ "comment_post_modified_gmt" ] = PostModified . Value . ToUniversalTime ( ) . ToString ( "o" ) ;
65
65
if ( ! string . IsNullOrWhiteSpace ( RecheckReason ) ) map [ "recheck_reason" ] = RecheckReason ;
66
66
if ( Referrer is not null ) map [ "referrer" ] = Referrer . ToString ( ) ;
67
67
if ( ! string . IsNullOrWhiteSpace ( Type ) ) map [ "comment_type" ] = Type ;
You can’t perform that action at this time.
0 commit comments