#wordpress 2022-07-03

2022-07-03 UTC
wagle, [snarfed], jacky, pmlnr and [tonz] joined the channel; jacky left the channel
#
GWG
[arush]: Had a question for you re Hebrew dates. Wanted to know what your need was there. I have been researching the state of Hebrew dating in WordPress and I think I might write something as part of my suite of simple plugins.
[arush] joined the channel
#
[arush]
Hey @gwg I need something that will display the correct Hebrew date for content types, and, because my website is sort of doubling for an accessible Hebrew calendar that I can use, something that would display the current Hebrew date, like a widget or something like that.
#
GWG
[arush]: I think I want to write my own take on it
#
GWG
I've been doing research
#
GWG
I might ask you to check that the markup is accessible
#
[arush]
@gwg I started doing that, but I think I need to go back to the drawing board and do some further reading. Was looking at just integrating a local copy of Hebcal, but that was just something I was toying with although it could be useful.
#
GWG
[arush]: Want to collaborate a bit? I'm not doing Hebcal...I want to write wrappers around the built-in PHP functions
#
GWG
So, I would want DateTime to Hebrew date.
#
GWG
There are libraries for that, but I want something simpler to start
#
[arush]
@gwg yeah we could colaborate on that. Do we make it a specific plugin, or is it something like indieweb Hebrew date so it works properly with MF2 stuff?
#
GWG
I thought of calling it Jewish time, as a reference to the old joke every ethnicity has about showing up late
jacky joined the channel
#
GWG
[arush]: I will start a repo and set up some code and jump in as you wish... recent events may have prompted me, but I've wanted to do this for a while
#
[arush]
@gwg would be happy to check markup/test and help code, and like the Jewish Time thing. That's funny. I guess then we just need to figure out what we need (date, zmanim, stuff like that), and then figure out what we're willing to cover.
jacky joined the channel
#
GWG
I intend to start with conversion, but I have a lot of fun features based on what I have done before
#
GWG
Hebrew date queries and archives
#
[arush]
@gwg those features sound like a lot of fun. Email is amanda@customerservant.com if that makes things easier for you.
#
GWG
I'll note the repo name when set up for following
#
[arush]
OK, looking forward.
#
GWG
Shell of a plugin to start.. https://github.com/dshanske/jewish-time
#
Loqi
[dshanske] jewish-time: Hebrew/Jewish Date/Time Enhancements for WordPress
#
GWG
First step, write a simple DateTime converter, and create a class to abstract the Hebrew date. Of course, there are plenty of those, but I looked and a lot of them are a bit more complicated than needed, so want to implement a simple one.
#
GWG
[arush]: If you haven't seen this...it covers everything I need. https://www.david-greve.de/luach-code/jewish-php.html
#
GWG
There are several built in PHP functions for the calendar conversion.
jacky and [Scott_Jack] joined the channel