Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
add tbdexdateformatter comment to message
Browse files Browse the repository at this point in the history
  • Loading branch information
kirahsapong committed Mar 19, 2024
1 parent d3fd648 commit db8f29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/tbDEX/Protocol/Models/Message.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public struct MessageMetadata: Codable, Equatable {
/// ID for a "exchange" of messages between Alice <-> PFI. Set by the first message in an exchange.
public let exchangeID: String

/// The time at which the message was created
/// The time at which the message was created. Can be coded to or from JSON string with `tbDEXDateFormatter`. Use `tbDEXJSONDecoder` or `tbDEXJSONEncoder`.
public let createdAt: Date

enum CodingKeys: String, CodingKey {
Expand Down

0 comments on commit db8f29c

Please sign in to comment.