Skip to content

Commit

Permalink
Rebrand from fb2ics to fb2cal
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeigi committed Jul 21, 2019
1 parent 00601a0 commit 0852f47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fb2ics.py → src/fb2cal.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

"""
fb2ics
fb2cal
Created by: mobeigi (mobeigi.com)
"""

Expand Down Expand Up @@ -266,7 +266,7 @@ def get_days_offset_dict():
return __offset_dict

__offset_dict = {}

# todays birthdays will be shown normally (as date) so we can skip today
cur_date = datetime.now() + relativedelta(days=1)

Expand Down Expand Up @@ -321,8 +321,8 @@ def populate_birthdays_calendar(birthdays):
c = Calendar()
c.scale = 'GREGORIAN'
c.method = 'PUBLISH'
c.creator = 'fb2ics - https://git.io/fjMwr'
c._unused.append(ics.parse.ContentLine(name='X-WR-CALNAME', params={}, value='Friends\' Birthdays'))
c.creator = 'fb2cal - https://git.io/fjMwr'
c._unused.append(ics.parse.ContentLine(name='X-WR-CALNAME', params={}, value='Facebook Birthdays (fb2cal)'))
c._unused.append(ics.parse.ContentLine(name='X-PUBLISHED-TTL', params={}, value='PT12H'))
c._unused.append(ics.parse.ContentLine(name='X-ORIGINAL-URL', params={}, value='/events/birthdays/'))

Expand Down

0 comments on commit 0852f47

Please sign in to comment.