clock_rfc2822(3tcl)
β¨ clock_rfc2822 β¨
okay bestie, so this is a page from the tcllib manual β it's clock_rfc2822(3tcl) β and it's literally just about one (1) thing: parsing RFC 2822 dates/times. tiny page, huge slay. let's get into it π
πΈ NAME πΈ
clock_rfc2822 β parsing RFC 2822 dates/times. that's it. that's the whole job. and she does it well π
π SYNOPSIS π
package require Tcl 8.5 9
package require clock::rfc2822 ?0.2?
::clock::rfc2822 parse_date date
so you need Tcl 8.5 or 9 (yes both, she's flexible like that β¨), then you pull in the package clock::rfc2822 β version 0.2 if you're being specific, or don't specify and just vibe β and then there's exactly one command waiting for you. one. iconic minimalism.
π¦ DESCRIPTION π¦
this package gives you the functionality to parse dates that are in RFC 2822 format. no more, no less. she's not trying to be everything, she's just being herself. π«Ά
π ::clock::rfc2822 parse_date date
okay so this command β parse_date β takes your RFC2822 date string and hands you back the given date in seconds since epoch. so like, a nice lil integer you can actually do math with. β
heads up bestie: if the command can't parse the date, it throws an error. no silent nonsense, no fake date, she will simply tell you. π
so the flow is: you give her a date string, she gives you epoch seconds, or she yells. straightforward queen behavior π
π BUGS, IDEAS, FEEDBACK π
real talk: this document, and the package it describes, will undoubtedly contain bugs and other problems. that's just how software is, ngl. π
- please report bugs in the category
clock::rfc2822of the Tcllib Trackers at http://core.tcl.tk/tcllib/reportlist - also please report any ideas for enhancements you may have for either the package and/or the documentation β she wants to hear your thoughts fr fr
when you're proposing code changes, please provide unified diffs, i.e. the output of diff -u. that's the format. not vibes, diffs. π
also note: attachments are strongly preferred over inlined patches. you make an attachment by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. iykyk. β¨
π CATEGORY π
Text processing β yes she's a text processing girlie, and she ate π
and that's the whole page, bestie! this lil number comes to you from tcllib, version 0.2, and it lives under the name clock_rfc2822(3tcl). go parse some dates, you're gonna do amazing πβ¨π§
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms