Skip to content

Commit 2bb2ad9

Browse files
committed
Deployed 5b6d15d to dev with MkDocs 1.6.1 and mike 2.1.1
1 parent 5b6d15d commit 2bb2ad9

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

dev/api/index.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,9 +1509,9 @@ <h2 id="date-and-time-formatting">Date and Time Formatting</h2>
15091509
<pre class="highlight"><code>#include &lt;fmt/chrono.h&gt;
15101510

15111511
int main() {
1512-
std::time_t t = std::time(nullptr);
1512+
auto now = std::chrono::system_clock::now();
15131513

1514-
fmt::print("The date is {:%Y-%m-%d}.", fmt::localtime(t));
1514+
fmt::print("The date is {:%Y-%m-%d}.\n", now);
15151515
// Output: The date is 2020-11-07.
15161516
// (with 2020-11-07 replaced by the current date)
15171517

@@ -1524,14 +1524,6 @@ <h2 id="date-and-time-formatting">Date and Time Formatting</h2>
15241524
// Output: strftime-like format: 03:15:30
15251525
}</code></pre>
15261526
<div class="docblock">
1527-
<a id="localtime">
1528-
<pre><code class="language-cpp decl"><div></div><div>auto localtime(std::time_t time) -&NoBreak;>&nbsp;std::tm;</div></code></pre>
1529-
</a>
1530-
<div class="docblock-desc">
1531-
<p>Converts given time since epoch as <code>std::time_t</code> value into calendar time, expressed in local time. Unlike <code>std::localtime</code>, this function is thread-safe on most platforms. </p>
1532-
</div>
1533-
</div>
1534-
<div class="docblock">
15351527
<a id="gmtime">
15361528
<pre><code class="language-cpp decl"><div></div><div>auto gmtime(std::time_t time) -&NoBreak;>&nbsp;std::tm;</div></code></pre>
15371529
</a>

dev/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)