noc.social is part of the decentralized social network powered by Mastodon.
This instance is focused on technology, networking, linux, privacy, security, infosec, engineering, but open to anyone. Civil discourse, polite and open. Managed by the noc.org / trunc.org team.

Administered by:

Server stats:

658
active users

Learn more

scy<p>Python: *has very flexible logging system*</p><p>also Python: *has no format string placeholder for fractional seconds*</p><p>me, wanting a ISO 8601 compatible timestamp with milliseconds in his logs:</p><p>[Edit: fixed and improved version in the replies]</p><p><a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://chaos.social/tags/logging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>logging</span></a> <a href="https://chaos.social/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a></p>
Mike Elston<p><a href="https://kzoo.to/tags/epoch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>epoch</span></a> <a href="https://kzoo.to/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> <a href="https://kzoo.to/tags/time" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>time</span></a> <a href="https://kzoo.to/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://kzoo.to/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a></p>
Fredrik<p>Spara pajen till den 22/7 <a class="hashtag" href="https://bsky.app/search?q=%23iso8601" rel="nofollow noopener noreferrer" target="_blank">#iso8601</a></p>
Mal<p>Will the world please read <a href="https://mastodon.africa/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> or its <a href="https://mastodon.africa/tags/Wikipedia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wikipedia</span></a> summary and adopt the following basic <a href="https://mastodon.africa/tags/DateAndTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DateAndTime</span></a> format, with its variations for support of <a href="https://mastodon.africa/tags/TimeZone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TimeZone</span></a> if required?:</p><p>2025-03-18 13:39:28</p><p>Standards, people. They exist. I know it doesn't cover non-Gregorian calendars, but I'm willing to puzzle out AH or others as a special case.</p><p><a href="https://en.wikipedia.org/wiki/ISO_8601" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">en.wikipedia.org/wiki/ISO_8601</span><span class="invisible"></span></a></p>
Matthew Slowe<p><span class="h-card"><a href="https://mastodon.social/@ocramius" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ocramius</span></a></span> and when you've got over that hurdle, using <a href="https://infosec.exchange/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> dates would be nice, too 😎</p>
FiXato<p>you are my best mate<br>you make my year, month, and day, fun<br>so let's have the perfect date<br>formatted in <a href="https://toot.cat/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a></p>
Livia Weigel<p>Still some filename issues but otherwise working great! Improved the log to be more <a href="https://sciences.social/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> compliant. <a href="https://sciences.social/tags/deepseek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>deepseek</span></a> worked wonders with debugging, this was insanely fast</p>
bitnapper<a href="https://pixelfed.lovetux.net/discover/tags/ISO8601?src=hash" class="u-url hashtag" rel="nofollow noopener noreferrer" target="_blank">#ISO8601</a>, because other formats are confusing.
⠠⠵ avuko<p><span class="h-card"><a href="https://mas.to/@PicardTips" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>PicardTips</span></a></span> </p><p>2024-12-31T18:25:02Z And always do so in the United Federation of Planets Standard: <a href="https://infosec.exchange/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a></p>
jesterchen42<p><span class="h-card"><a href="https://ruhr.social/@KRDigital" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>KRDigital</span></a></span> <a href="https://social.tchncs.de/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> \o/</p>
Debacle<p>Dear <a href="https://framapiaf.org/tags/lazyverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lazyverse</span></a>: Yet another dumb <a href="https://framapiaf.org/tags/question" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>question</span></a> about <a href="https://framapiaf.org/tags/Nextcloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nextcloud</span></a>:</p><p>How can I configure use of <a href="https://framapiaf.org/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> style <a href="https://framapiaf.org/tags/dateFormat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dateFormat</span></a>? Esp. with English and German?</p><p>Any <a href="https://framapiaf.org/tags/help" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>help</span></a> appeciated!</p><p>Btw, in DE, dd.mm.yyyy is most common, but the <a href="https://framapiaf.org/tags/DIN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DIN</span></a> <a href="https://framapiaf.org/tags/standard" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>standard</span></a> makes yyyy-mm-dd the official date format.</p><p>TIA!</p>
Shane Kerr<p>So this is cool:</p><p><a href="https://ijmacd.github.io/rfc3339-iso8601/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ijmacd.github.io/rfc3339-iso86</span><span class="invisible">01/</span></a></p><p>RFC 3339 is of course the best, since it supports date/time with space in between:</p><p>2024-12-12 16:03:17</p><p><a href="https://fosstodon.org/tags/RFC3339" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC3339</span></a> <a href="https://fosstodon.org/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a></p>
Quincy<p>I only wanted to get a useful date format in thunderbird and other applications: <a href="https://chaos.social/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a>, certainly not that confusing M/D/Y crapola that comes with en_US.utf8.</p><p>Now my system is set to Swedish locale (at least <a href="https://chaos.social/tags/LC_TIME" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LC_TIME</span></a>) as that made the problem go away.</p><p>It's the canonical way according to some forum threads. 😄</p>
Ken Fallon (PA7KEN, G5KEN)<p>I'd love to have the person that sent the "let's have dark mode everywhere" memo, send a "let's be able to edit our date settings" one as well.</p><p><a href="https://mastodon.sdf.org/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a></p>
Charles A-M<p>Ah, October first. My fingers' least favourite day of the year, because I must retrain them from starting dates with 2024-0... to 2024-1... <a href="https://urbanists.social/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a></p>
mkj<p><span class="h-card"><a href="https://kzoo.to/@notsle" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>notsle</span></a></span> <span class="h-card"><a href="https://comfy.social/@sigmasternchen" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>sigmasternchen</span></a></span> </p><p>I'd be willing to settle for RFC 3339 in place of ISO 8601. 🙂</p><p><a href="https://social.mkj.earth/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> <a href="https://social.mkj.earth/tags/RFC3339" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC3339</span></a></p>
n8chz 🩎<p>In <a href="https://queer.party/tags/R" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>R</span></a>, is there a way to parse an <a href="https://queer.party/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a> character string to a unix epoch double WITH THE FRACTIONAL SECONDS PART?</p>
Tom Sheppard<p><span class="h-card"><a href="https://twit.social/@jann" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>jann</span></a></span> I've been a proponent for ISO8601 date format (yyyy-mm-dd) for more years than I can remember precisely because it's sortable and proceeds from most to least significant like other numbers. I also use a 24-hour clock whenever possible. But I never got into that "Internet Time".</p><p><a href="https://www.timeanddate.com/time/internettime.html" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">timeanddate.com/time/internett</span><span class="invisible">ime.html</span></a></p><p><a href="https://twit.social/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a> <a href="https://twit.social/tags/InternetTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>InternetTime</span></a></p>
Kathante<p>Was ist eigentlich so schwer daran, Dateien nach <a href="https://mastodon.social/tags/iso8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iso8601</span></a> zu beschriften? </p><p>*zündet das Büro an am 2024-07-25*</p>
viq<p>Periodic reminder that according to <a href="https://social.hackerspace.pl/tags/RFC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC</span></a> <a href="https://social.hackerspace.pl/tags/RFC3339" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC3339</span></a> , if it's not YYYY-MM-DD you don't have a <a href="https://social.hackerspace.pl/tags/date" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>date</span></a>, you're just hanging out.<br>Also you want <a href="https://social.hackerspace.pl/tags/RFC3339" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RFC3339</span></a> and *not* <a href="https://social.hackerspace.pl/tags/ISO8601" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ISO8601</span></a>, see <a href="https://ijmacd.github.io/rfc3339-iso8601/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ijmacd.github.io/rfc3339-iso86</span><span class="invisible">01/</span></a> for horrors the latter allows, and that's besides the fact that you need to pay around 200 CHF to read the whole spec.</p><p>And on that note, I received some documents that use M_D_YYYY in their naming... 🤢</p>