summaryrefslogtreecommitdiff
path: root/indra/llcommon/lldate.h
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2024-04-29 16:29:23 -0700
committerGitHub <noreply@github.com>2024-04-29 16:29:23 -0700
commitc05c066894c7a49fb8a3dba553bac56216398934 (patch)
tree8283522498c4c54a2dae665f268b6180a5702f8d /indra/llcommon/lldate.h
parent0cceb13b5a5283078c31c88d864d700b49eeff7f (diff)
parent204b7ff6fb7544dd4210e125d275fd550f52f5c6 (diff)
Merge pull request #1344 from secondlife/signal/snapshot-time
Add timestamp to snapshot file names
Diffstat (limited to 'indra/llcommon/lldate.h')
-rw-r--r--indra/llcommon/lldate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/lldate.h b/indra/llcommon/lldate.h
index be2cd2d051..248de41da7 100644
--- a/indra/llcommon/lldate.h
+++ b/indra/llcommon/lldate.h
@@ -80,6 +80,7 @@ public:
std::string asRFC1123() const;
void toStream(std::ostream&) const;
bool split(S32 *year, S32 *month = NULL, S32 *day = NULL, S32 *hour = NULL, S32 *min = NULL, S32 *sec = NULL) const;
+ std::string toLocalDateString (std::string fmt) const;
std::string toHTTPDateString (std::string fmt) const;
static std::string toHTTPDateString (tm * gmt, std::string fmt);
/**