tag:help.tenderapp.com,2008-11-12:/discussions/questions/14148-setting-hours-of-availabilityoffice-is-currently-closed-notificationTender: Discussion 2018-10-18T06:27:46Ztag:help.tenderapp.com,2008-11-12:Comment/395261242016-04-02T02:48:34Z2016-04-02T02:48:34Zsetting hours of availability\office is currently closed notification? <div><p>Hey Ron,</p>
<p>Let me see if there are any workarounds. I'll get back to you
asap.</p>
<p>Best,<br>
Brandi</p></div>branditag:help.tenderapp.com,2008-11-12:Comment/395261242016-04-02T16:18:53Z2016-04-02T16:18:53Zsetting hours of availability\office is currently closed notification? <div><p>Brandi,</p>
<p>Sounds good - thanks.</p></div>Rontag:help.tenderapp.com,2008-11-12:Comment/395261242016-04-04T01:12:22Z2016-04-04T01:12:22Zsetting hours of availability\office is currently closed notification? <div><p>We don't currently have a 'office hours' feature but you can
actually play with the current time in the autoresponder like
so:</p>
<p>first, setting the timezone</p>
<pre>
<code>{% capture set_timezone %}{{ now | set_time_zone: 'Amsterdam' }}{% endcapture %}</code>
</pre>
<p>then some logic in the autoresponder. Maybe no-one reads them,
but it could be an entirely different messagE:</p>
<pre>
<code>Our office is {% if now is_after '8:30' and now is_before '18:00' %}open{% else %}not open{% endif %}</code>
</pre>
<p>To set the timezone you can use any of the IANA timezones like
"Africa/Timbuktu"(<a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>
) or the rails shorter timezones like "Budapest" -- (<a href="http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html">http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html</a>
) - or just "EST".</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/395261242016-04-05T19:16:41Z2016-04-05T19:16:41Zsetting hours of availability\office is currently closed notification? <div><p>Courteney,</p>
<p>Thank you for the response. I'll play with this and see if it is
something viable for my application.</p>
<p>Much appreciated,<br>
Ron</p></div>Ron