Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bookme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christopher League
bookme
Commits
672d5af8
Commit
672d5af8
authored
Aug 30, 2018
by
Christopher League
🖥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Important bug fix: expand recurring events
parent
4ff9661a
Pipeline
#541
passed with stage
in 1 minute and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
config/settings.yml
config/settings.yml
+1
-1
src/Calendar.hs
src/Calendar.hs
+1
-0
No files found.
config/settings.yml
View file @
672d5af8
...
...
@@ -27,7 +27,7 @@ calendar-credentials:
recaptcha
:
"
_env:BOOKME_RECAPTCHA"
free-calendar
:
_env:BOOKME_FREE_CAL:mock-free
busy-calendar
:
_env:BOOKME_BUSY_CAL:mock-busy
look-ahead-weeks
:
8
look-ahead-weeks
:
5
lead-time-minutes
:
120
development
:
"
_env:BOOKME_DEVEL:false"
...
...
src/Calendar.hs
View file @
672d5af8
...
...
@@ -254,6 +254,7 @@ listUpcoming (GoogleCxt env) cid lookahead = do
xs
<-
Google
.
runGoogle
env
$
Google
.
send
$
eventsList
cid
&
elTimeMin
.~
Just
now
&
elTimeMax
.~
Just
end
&
elSingleEvents
.~
Just
True
let
es
=
SL
.
toSortedList
$
mapMaybe
simplifyEvent
$
xs
^.
eveItems
--forM_ (SL.fromSortedList es) $ sayEvent $ take 4 cid
return
es
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment