~singpolyma/biboumi

b59fc2a834dccb35f12dcfec624b6181e4e2fbe9 — louiz’ 8 years ago a195939
Use Z instead of z in the timestamp format
1 files changed, 1 insertions(+), 1 deletions(-)

M louloulibs/xmpp/xmpp_component.cpp
M louloulibs/xmpp/xmpp_component.cpp => louloulibs/xmpp/xmpp_component.cpp +1 -1
@@ 447,7 447,7 @@ void XmppComponent::send_history_message(const std::string& muc_name, const std:
  delay["from"] = muc_name + "@" + this->served_hostname;
  constexpr std::size_t stamp_size = 20;
  char date_buf[stamp_size];
  std::strftime(date_buf, stamp_size, "%FT%Tz", std::gmtime(&timestamp));
  std::strftime(date_buf, stamp_size, "%FT%TZ", std::gmtime(&timestamp));
  delay["stamp"] = date_buf;

  message.add_child(std::move(delay));