Does couchbase have a special treatment for strings that contain datetime?

This statement:

await ctx.InsertAsync(collection, “123”, “2025-09-30T07:55:00”).ConfigureAwait(false);

is expected to write a document whose content is just the text “2025-09-30T07:55:00”.
but what I get is a document containg “2025-09-30T07:55:00+03:00”, where an offset part is added at some point.

Is it Couchbase or the .net SDK that did this? If yes, why?

Can you show that document in couchbase in the web ui?
I suspect the offset was added during deserialzation.
If your local/default timezone is +03 , is the result not correct?

Yes, my local time is +03 . But the time I am saving in the document is not related to any timezone. Therefore I am saving it as a string.

The answer to your original question is “no”, Couchbase does not do anything with strings which contain data that may (or may not) be a date. If you are getting out a string that ends in “+03:00”, that’s because that is what was put in.

it seems that when you are saving it as a string, that string has the +03:00. This insert will not have the +03:00 on it. (also, I think transactions only work on objects).

await ctx.InsertAsync(collection, “123”, “2025-09-30T07:55:00”).ConfigureAwait(false);