<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - timedatectl returns a failed assertion on strftime when in fr_FR locale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57411">57411</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>timedatectl returns a failed assertion on strftime when in fr_FR locale
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tuxce.net@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>The command output describes the bug :
$ timedatectl
Local time: jeu., 2012-11-22 14:50:18 CET
Universal time: jeu., 2012-11-22 13:50:18 UTC
RTC time: jeu., 2012-11-22 13:50:17
Timezone: Europe/Paris
UTC offset: +0100
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: no
Assertion 'strftime(a, sizeof(a), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&t,
&tm)) > 0' failed at src/timedate/timedatectl.c:171, function
print_status_info(). Aborting.
Abandon (core dumped)
I think it was introduced by this commit :
<a href="http://cgit.freedesktop.org/systemd/systemd/commit/src/shared/util.h?id=684341b073c4c5f7339e14ebc6a3e0df849e4eb7">http://cgit.freedesktop.org/systemd/systemd/commit/src/shared/util.h?id=684341b073c4c5f7339e14ebc6a3e0df849e4eb7</a>
#define FORMAT_TIMESTAMP_MAX (5+11+9+4+1)
5 is for weekday+comma+space, but week days in french have 4 digits.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>