summaryrefslogtreecommitdiff
path: root/perc.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'perc.cfg')
-rw-r--r--perc.cfg264
1 files changed, 167 insertions, 97 deletions
diff --git a/perc.cfg b/perc.cfg
index a3f02b6..018f379 100644
--- a/perc.cfg
+++ b/perc.cfg
@@ -1,99 +1,169 @@
{
- "RATIO_SIGFIGS": 3,
-
- "STANDARDS": {
- "civilian": "^(\\d+):(\\d{2})()$",
- "military": "(\\d+)(\\d{2})()$",
- "12hour": "^(\\d+):(\\d{2})([a-zA-Z]{2})$",
- "12houronly": "^(\\d+)()([a-zA-Z]{2})$",
- "24houronly": "^(\\d+)()()$"
- },
-
- "FORMATTING": {
- "civilian": "{hour:02d}:{minute:02d}",
- "military": "{hour:02d}{minute:02d}",
- "12hour": "{hour:02d}:{minute:02d}{period}",
- "12houronly": "{hour}{period}",
- "24houronly": "{hour}",
-
- "PERCENTAGE": "{ratio:.2%} {finish} ({start} start)",
- "BAR": {
- "character": "-",
- "length": 40,
- "length_mobile": 30
- }
- },
-
- "DEFAULTS": {
- "default": {
- "start": { "hour": 9 },
- "finish": { "hour": 17 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "carpnet": {
- "start": { "hour": 10 },
- "finish": { "hour": 19 },
- "standard": "12houronly",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "l_bratch": {
- "start": { "hour": 8, "minute": 30 },
- "finish": { "hour": 17 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "bikeman": {
- "start": { "hour": 9 },
- "finish": { "hour": 17 },
- "standard": "12houronly",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "otherlw": {
- "start": { "hour": 10 },
- "finish": { "hour": 19 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "wjoe": {
- "start": { "hour": 9 },
- "finish": { "hour": 17 },
- "standard": "12houronly",
- "output": "bar",
- "lunch": { "start": { "hour": 12 }, "finish": { "hour": 13 } }
- },
- "jagw": {
- "start": { "hour": 9 },
- "finish": { "hour": 18 },
- "standard": "12houronly",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "miniwork": {
- "start": { "hour": 9 },
- "finish": { "hour": 17, "minute": 30 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "bottlecap": {
- "start": { "hour": 9 },
- "finish": { "hour": 17, "minute": 30 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- },
- "sbeans": {
- "start": { "hour": 9 },
- "finish": { "hour": 17, "minute": 30 },
- "standard": "civilian",
- "output": "bar",
- "lunch": { "start": { "hour": 13 }, "finish": { "hour": 14 } }
- }
- }
+ "FORMAT": {
+ "date": {
+ "slashes": "%Y/%m/%d",
+ "hyphens": "%Y-%m-%d"
+ },
+ "time": {
+ "12hour": "%I:%M%p",
+ "civilian": "%H:%M",
+ "12houronly": "%I%p",
+ "military": "%H%M"
+ }
+ },
+ "RATIO_SIGFIGS": 3,
+ "ADMINS": [
+ "bikeman",
+ "bondroid",
+ "bottlecap",
+ "carpnet",
+ "daveg",
+ "dhm",
+ "dsk",
+ "fbeans",
+ "sbeans",
+ "jagw",
+ "l_bratch",
+ "miniwork",
+ "otherlw",
+ "otherlp",
+ "wjoe"
+ ],
+ "DEFAULTS": {
+ "daveg": {
+ "start": "07:30",
+ "format": "%H:%M",
+ "finish": "18:00",
+ "lunch": {
+ "start": "12:30",
+ "finish": "13:00"
+ },
+ "output": "bar"
+ },
+ "bikeman": {
+ "start": "09:00",
+ "format": "%I%p",
+ "finish": "17:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "wjoe": {
+ "start": "09:00",
+ "format": "%I%p",
+ "finish": "17:00",
+ "lunch": {
+ "start": "12:00",
+ "finish": "13:00"
+ },
+ "output": "bar"
+ },
+ "default": {
+ "start": "09:00",
+ "format": "%H:%M",
+ "finish": "17:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "l_bratch": {
+ "start": "08:30",
+ "format": "%H:%M",
+ "finish": "17:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "bottlecap": {
+ "start": "09:00",
+ "format": "%H:%M",
+ "finish": "17:30",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "carpnet": {
+ "start": "10:00",
+ "format": "%H:%M",
+ "finish": "19:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "miniwork": {
+ "start": "09:00",
+ "format": "%H:%M",
+ "finish": "17:30",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "otherlw": {
+ "start": "10:00",
+ "format": "%H:%M",
+ "finish": "19:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "jagw": {
+ "start": "09:00",
+ "format": "%I%p",
+ "finish": "18:00",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ },
+ "sbeans": {
+ "start": "09:00",
+ "format": "%H:%M",
+ "finish": "17:30",
+ "lunch": {
+ "start": "13:00",
+ "finish": "14:00"
+ },
+ "output": "bar"
+ }
+ },
+ "OUTPUT": {
+ "PERCENTAGE": "{ratio:.2%} {finish} ({start} start)",
+ "BAR": {
+ "character": "-",
+ "length": 40,
+ "length_mobile": 30
+ }
+ },
+ "CUSTOM_EVENTS": {
+ "tg": {
+ "start": "2010-04-24 10:00",
+ "finish": "2011-04-04 12:00",
+ "format": "{name} %Y"
+ },
+ "intense": {
+ "start": "2011-09-04 18:00",
+ "finish": "2011-11-11 20:00",
+ "format": "{name} (%y-%m-%d %H:%M)"
+ },
+ "birth": {
+ "start": "2011-03-28 10:00",
+ "finish": "2012-03-28 00:00",
+ "format": "{name} %Y"
+ }
+ }
}