Skip to content

DateConvBot is a bot monitoring Reddit comments to help convert dates between calendars

License

Notifications You must be signed in to change notification settings

philosp/dateconvbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DateConvBot

DateConvBot is a bot monitoring Reddit comments to help convert dates between calendars

It uses the PRAW module to access Reddit.

It uses the Convertdate module for date conversions. Note that in some calendar systems, the day begins at sundown. Convertdate gives the conversion for noon of the day in question. For more details, please refer to Convertdate's Readme.

New! It now uses Lunisolar module to convert to/from Chinese dates, with SimonHung's modifications for Python3 compatibility.

Usage and syntax:


To summon the Bot, make a comment in any post in one of the monitored subs, with 1 line starting with "!dateconv" (no quotes).
The syntax is:
!dateconv fromCalendar toCalendar YEAR.MONTH.DAY
or
!dateconv today toCalendar

Monitored Subreddits:


Available calendars:


Calendar Code to use
Armenian armenian
Baha'i bahai
Chinese chinese
Coptic (Alexandrian) coptic
French Republican french_republican
Gregorian gregorian
Hebrew hebrew
Indian Civil indian_civil
Islamic islamic
Julian julian
Mayan mayan
Persian persian
Positivist positivist
ISO iso

About

DateConvBot is a bot monitoring Reddit comments to help convert dates between calendars

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages