bmlt-enabled / bread

BMLT Meeting List Generator Plugin For Wordpress https://wordpress.org/plugins/bread/
https://wordpress.org/plugins/bread/
GNU General Public License v2.0
6 stars 9 forks source link

auto_tz_adjust option for Bread like Crouton #163

Closed brustar64 closed 3 years ago

brustar64 commented 3 years ago

We have an Outreach use case where isolated members have no access to internet but can dial into virtual meetings by phone. We want to be able to send them printed lists of the Virtual NA meeting data printed from the same time zone as them so they have a wide variety of meeting options to attend. We've also explained how to read and use the list on the back page.

Currently Bread does not adjust for timezone like Crouton and the list isn't accurate if you're not in the same time zone as the meetings. Options we've thought about are:

  1. Simply printing the web pages out
  2. Copy and paste the text in the table to a new document
  3. Putting in a feature request to Crouton to allow printing of just the visible list
otrok7 commented 3 years ago

Well, good psychology, to say "Crouton can do it". I can't let that go ;-) What I'm thinking is adding this to the query_string, so you'd get it like http://bread.bmlt.org/?current-meeting-list=1&tz_adjust=+60 Is that what you are looking for?

otrok7 commented 3 years ago

After talking to Jonathan, I have a better idea of what is required here. Each meeting has a timezone, and that needs to be used to generate the meeting list for the target timezone. Target timezone will be specified like http://bread.bmlt.org/?current-meeting-list=1&time_zone=Europe/Moskow

Please try https://github.com/bmlt-enabled/bread/releases/download/2.6.0-beta1/bread.zip

dragonmacpc commented 3 years ago

Just asking this, it will not break the current linking, correct? ie any links "w/?current-meeting-list=3" no tz variable

I ask because I have several links distributed. with new changes to printable lists changing fairly regular, as things open/close, Our best solution for printing meeting lists for groups is have them print a few before each meeting themselves.

otrok7 commented 3 years ago

No, the start time of the meeting is only adjusted if (1) there is a timezone associated with the meeting, and (2) there is a target time zone specified in the query. Otherwise your meeting lists are unaffected.

otrok7 commented 3 years ago

Beta for testing: https://github.com/bmlt-enabled/bread/releases/download/2.6.0-beta2/bread.zip

brustar64 commented 3 years ago

Hi I tested this but I couldn't see any difference from the current implementation. Printed list still outputs the same time as they are entered into the database rather than the timezone in which they are viewed/printed in. EG - https://www.na.org.au/multi/online-meetings/ VS https://brucegardner.net/WP1/?current-meeting-list=1 (Beta Testing site)

otrok7 commented 3 years ago

Hi Bruce! I understood your use case, that you were sending the meeting lists to members that were not online themselves. So I didn't use the timezone of the person printing the list, rather I require you to specify it in the URL, as I described in my comment 2 days ago. Is that OK?

BTW, I notice that you have hrsHR in your meetinglist, is that intentional? Or do you want [hrs]HR?

brustar64 commented 3 years ago

Thanks. Maybe I misunderstood. What syntax should I use I enter a timezone such as UTC +10 (Brisbane) VS UTC +8 (Perth)?

Bruce


From: otrok7 @.> Sent: Wednesday, March 24, 2021 7:06:37 PM To: bmlt-enabled/bread @.> Cc: brustar64 @.>; Author @.> Subject: Re: [bmlt-enabled/bread] auto_tz_adjust option for Bread like Crouton (#163)

Hi Bruce! I understood your use case, that you were sending the meeting lists to members that were not online themselves. So I didn't use the timezone of the person printing the list, rather I require you to specify it in the URL, as I described in my comment 2 days ago. Is that OK?

BTW, I notice that you have hrsHR in your meetinglist, is that intentional? Or do you want [hrs]HR?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/bread/issues/163#issuecomment-805627846, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5KHL2E5ZY3P2ESMR4M363TFGTR3ANCNFSM4ZRTPZGA.

otrok7 commented 3 years ago

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

I could also provide an alternative way to specify the timezone. For instance, something like "&utc=+10"

brustar64 commented 3 years ago

I looked up the list of TZ timezones and it appears that I should use +10:00 right? It still doesn't have any effect - https://brucegardner.net/WP1/?current-meeting-list=1&tz_adjust=+10:00

otrok7 commented 3 years ago

https://brucegardner.net/WP1/?current-meeting-list=1&time_zone=Australia/Brisbane

brustar64 commented 3 years ago

Perfect! Thanks very much!