Skip to content

Commit

Permalink
Some formatting to chat timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 24, 2016
1 parent 496b465 commit 4c32c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game_preferences.cpp
Expand Up @@ -1031,10 +1031,10 @@ compression::format save_compression_format()
std::string get_chat_timestamp(const time_t& t) {
if (chat_timestamping()) {
if(preferences::use_twelve_hour_clock_format() == false) {
return lg::get_timestamp(t, _("%H:%M")) + " ";
return lg::get_timestamp(t, _("[%H:%M]")) + " ";
}
else {
return lg::get_timestamp(t, _("%I:%M %p")) + " ";
return lg::get_timestamp(t, _("[%I:%M %p]")) + " ";
}
}
return "";
Expand Down

0 comments on commit 4c32c9f

Please sign in to comment.