veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

293
active users

#datetime

1 post1 participant0 posts today
pvergain (framapiaf)<p>- <a href="https://whenever.readthedocs.io/en/latest/#why-use-whenever" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">whenever.readthedocs.io/en/lat</span><span class="invisible">est/#why-use-whenever</span></a> </p><p><a href="https://framapiaf.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://framapiaf.org/tags/Datetime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Datetime</span></a> </p><p>whenever helps you write correct and type checked datetime code</p><p>Why use whenever ?</p><p> 🌐 DST-safe arithmetic<br> 🛡️ Typesafe API prevents common bugs<br> ✅ Fixes issues arrow/pendulum don’t<br> ⚖️ Based on proven and familiar concepts<br> ⚡️ Unmatched performance<br> 💎 Thoroughly tested and documented<br> 📆 Support for date arithmetic</p><p>- <a href="https://github.com/ariebovenberg/whenever" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ariebovenberg/whene</span><span class="invisible">ver</span></a></p>
ax6761<p>… “speak-time” …<br>1- [Current Date]<br>2- [Format Date]: Date format: Custom; Format string: EEEE, dd MMM h:ss a<br>3- [Speak Text] Formatted Date</p><p><a href="https://freeradical.zone/tags/iOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOS</span></a> <a href="https://freeradical.zone/tags/Shortcuts_iOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Shortcuts_iOS</span></a> <a href="https://freeradical.zone/tags/dateTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dateTime</span></a></p>
ax6761<p>On <a href="https://freeradical.zone/tags/iOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOS</span></a> (18) there ought to be a way to [Speak Text] time (easy, done) after alarm goes off via “Shortcuts” application!</p><p>Ideally spoken time would be alarm action/tone.</p><p>Setting the alarm from input is easily done. Combining the 2 needs work.</p><p>Could get the time for “alarm”; instead of [Create Alarm For], would calculate the time difference (wrt current time; already done previously for its own use) to [Wait] before “speak-time”.</p><p><a href="https://freeradical.zone/tags/talkingAlarm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>talkingAlarm</span></a> <a href="https://freeradical.zone/tags/softwareDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwareDev</span></a> <a href="https://freeradical.zone/tags/Shortcuts_iOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Shortcuts_iOS</span></a> <a href="https://freeradical.zone/tags/dateTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dateTime</span></a></p>
hal<p>Manchmal hat <a href="https://social.tchncs.de/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> nette Überraschunge, wie zB. <a href="https://social.tchncs.de/tags/DateTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DateTime</span></a> und <a href="https://social.tchncs.de/tags/DateTimeImmutable" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DateTimeImmutable</span></a> und wenn das noch nicht überraschend genug ist, dann kommt noch deren Verhalten bei <a href="https://social.tchncs.de/tags/Doctrine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Doctrine</span></a> dazu....</p>
Victoria (K8VSY) (she/her)<p>Since, it is almost that time of year:</p><p>If you are in the U.S., are you for or against abolishing Daylight Saving Time (DST)?</p><p><a href="https://mastodon.radio/tags/time" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>time</span></a> <a href="https://mastodon.radio/tags/date" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>date</span></a> <a href="https://mastodon.radio/tags/DateTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DateTime</span></a> <a href="https://mastodon.radio/tags/DateAndTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DateAndTime</span></a> <a href="https://mastodon.radio/tags/DST" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DST</span></a> <a href="https://mastodon.radio/tags/DaylightSavingTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DaylightSavingTime</span></a> <a href="https://mastodon.radio/tags/DaylightSavingsTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DaylightSavingsTime</span></a> <a href="https://mastodon.radio/tags/clock" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clock</span></a> <a href="https://mastodon.radio/tags/season" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>season</span></a> <a href="https://mastodon.radio/tags/fall" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fall</span></a> <a href="https://mastodon.radio/tags/autumn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>autumn</span></a> <a href="https://mastodon.radio/tags/ClockChange" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ClockChange</span></a> <a href="https://mastodon.radio/tags/GMT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GMT</span></a> <a href="https://mastodon.radio/tags/UTC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UTC</span></a> <a href="https://mastodon.radio/tags/EDT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EDT</span></a> <a href="https://mastodon.radio/tags/EST" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EST</span></a></p>
Mariatta 🤦🏻‍♀️ :python:<p>Are there "names" for the different date time notations like <br>US: month, day, year<br>Europe: day, month, year<br>US: 12 hr with AM/PM<br>Other places : 24 hrs<br>Iso standard<br>Etc?</p><p>If there are names for these different notations maybe we could add them as Python enums and use the enum instead of constructing our own "%m %d %Y" whatever.</p><p>Wouldn't that be interesting? Might solve lots of bugs with wrong datetime format. 🤔</p><p><a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/datetime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>datetime</span></a></p>
Mike Elston<p>The Time Lords have a special torture chamber on Gallifrey for app developers that write apps, used cross timezones but dont properly store timezone data. <br><a href="https://kzoo.to/tags/timezone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>timezone</span></a> <a href="https://kzoo.to/tags/datetime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>datetime</span></a> <a href="https://kzoo.to/tags/dev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dev</span></a> <a href="https://kzoo.to/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://kzoo.to/tags/utc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>utc</span></a> <a href="https://kzoo.to/tags/doctorwho" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>doctorwho</span></a> <a href="https://kzoo.to/tags/timelords" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>timelords</span></a></p>
Glyph<p>Is it possible to get a zoneinfo.ZoneInfo key (i.e.: IANA tzdb identifier) for the current system timezone, in Python? `datetime.now(timezone.utc).astimezone().` gives a potentially ambiguous 'tzname' and 'utcoffset' which make it difficult to communicate long-term time intervals to other systems</p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/datetime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>datetime</span></a> <a href="https://mastodon.social/tags/timezones" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>timezones</span></a></p>