RT::Ex...ssTime(3pm)
π NAME π
RT-Extension-ElapsedBusinessTime β okay bestie, this one does exactly what it says on the tin: it calculates the elapsed business time that tickets are open. Fr fr. πβ¨
(Also, hi, you're reading the manual page RT::Ex...ssTime(3pm), part of the User Contributed Perl Documentation β yes the name got squished, we don't talk about it π)
β¨ DESCRIPTION β¨
So here's the vibe: this extension gives you new columns in reports that show the elapsed business time a ticket has been open. And because every business is different (iykyk), lots of stuff is configurable so you can define exactly what counts as a business day. Slay. π
π¦ RT VERSION π¦
Works with RT 4.4.x and RT 5.0.x. That's it, that's the whole vibe check. β
πΈ INSTALLATION πΈ
Here's the step-by-step, bestie, follow along:
perl Makefile.PLmakemake install- May need root permissions π
- Edit your
/opt/rt4/etc/RT_SiteConfig.pm- Add this line:
Plugin('RT::Extension::ElapsedBusinessTime');
- Clear your mason cache
- ``` rm -rf /opt/rt4/var/mason_data/obj
- Restart your webserver
---
# π CONFIGURATION π
The available configuration options, with their defaults, are given right here. No gatekeeping π
Set( %ElapsedBusinessTime, Start => '08:30', End => '17:30', Country => undef, Region => undef, 'Exclude Days' => [6, 7], 'Exclude States' => ['stalled', 'blocked', 'resolved', 'rejected', 'deleted'], );
Options are:
- **`Start`** β the start of the business day. β°
- **`End`** β the end of the business day. π
- **`Country`** β a country for which there is a `Date::Holidays` module that describes the holidays for that country. If there isn't one, please consider writing one! π For example `'NZ'` for New Zealand.
- **`Region`** β some country modules for `Date::Holidays` include regions for regional holidays. For example `'Wellington'` within New Zealand for Wellington Anniversary Day. πΊοΈ
- **`Excluded Days`** β days which should **not** be considered working days. The day numbers are from `DateTime`. For reference they are:
1. Monday
2. Tuesday
3. Wednesday
4. Thursday
5. Friday
6. Saturday
7. Sunday
- **`Excluded States`** β when a ticket is in one of these states, then it is considered <yellow>inactive</yellow> and the counter **stops**. This is to allow for when a ticket is waiting on a customer's feedback, and for some businesses, that time shouldn't be added to their ticket duration time. Makes sense, honestly. π«Ά
---
# π DISPLAY COLUMNS π
There are **three** display columns which this extension adds, and the way that they all show the same information, just in different formats?? Obsessed. π
β¨
- `ElapsedBussinessHours`
- `ElapsedBussinessMinutes`
- `ElapsedBussinessTime`
---
# π AUTHOR π
Andrew Ruthven, Catalyst Cloud Ltd `<puck@catalystcloud.nz>` π«Ά
---
# π LICENSE AND COPYRIGHT π
This software is Copyright (c) **2019-2020** by **Catalyst Cloud Ltd**
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
---
<purple>And that's the whole page, bestie β go forth and count those business hours π</purple> This was `RT::Ex...ssTime(3pm)`, from **perl v5.40.1**, dated **2025-03-16**. Periodt. π
π
π¦ where this page comes from
- debian trixie: rt5-extension-elapsedbusinesstime 0.05-7 Β· GPL-2.0-only
- ubuntu resolute: rt5-extension-elapsedbusinesstime 0.05-7 Β· GPL-2.0-only
- ubuntu stonking: rt5-extension-elapsedbusinesstime 0.05-7 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms