Commit Graph

18 Commits

Author SHA1 Message Date
Ben Armstrong
89411f2ef8 [Timezone] Output "same" when time zones match. (#250)
* [timezone] Output "same" when time zones match.

* Semantic changes

* Make time_diff_text not rely on rstrip as `0.0` was returning an empty string  
* Don't compare `time_diff` (a float) to ints in `plural` and `position_text`, use time_diff_text's string content and compare to strings

* Version number

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2021-10-10 14:56:00 -07:00
aikaterna
40b3bbc363 Info.json cleanup 2021-10-10 13:26:33 -07:00
Vexed
07ee745b9e [Timezone] Add fuzzy timezone searching (#231)
* Add fuzzy timezone searching
* remove unused imports

* Cleaner code

* Adjustments

* Adjustments

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2021-05-14 12:49:48 -07:00
Fixator10
7d19d8128f [timezone] [p]time set check for owner (#167)
instead of mod
2020-10-10 17:24:43 -07:00
bobloy
fe09f1e306 Add get_usertime for outside calls (#156) 2020-09-24 10:25:36 -07:00
Draper
ae9dbf569c Data API Complicance (Red 3.4) (#136)
* Simple ones first

* Less simple but still simple.

* Slightly more complicated

* use correct name

* move to module

* Black -l 120

* review

* give users the proper feedback

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-08-26 09:57:43 -07:00
Ben Armstrong
c8886e233d Accept only common timezones to avoid confusion. (#105)
Co-authored-by: Ben Armstrong <BArmstrong@dymaxion.ca>
2020-04-11 16:36:43 -07:00
aikaterna
4eea6c02d6 [Timezone] Change link for actual ISO codes 2020-01-29 16:23:40 -08:00
aikaterna
809de69ac7 [Timezone] Add catch for no user 2020-01-29 08:54:45 -08:00
PredaaA
1796238aa8 [Timezone] Replace [p]'s for ctx.prefix (#95) 2020-01-29 08:46:44 -08:00
aikaterna
ebb8b31601 [Timezone] Add time compare 2020-01-29 08:36:27 -08:00
aikaterna
00eddecbd9 [Timezone] They -> the 2019-08-16 08:13:59 -07:00
PredaaA
57952e53d8 Update timezone.py 2019-04-28 01:40:54 +02:00
PredaaA
f00ad45152 Update timezone.py 2019-04-28 01:14:53 +02:00
Kowlin
4b9cd3493b Fixed the permissions
manage_server -> manage_guild
2018-11-06 00:35:08 +01:00
aikaterna
d8cd36f8ff [V3] RC1 Compliance, fixes
RC1 changes on all cogs. Tools has inrole fixed, now will display appropriately if 0 people are in the specified role. Timezone: removed the time place command as timezoneapi.io has changed to a paid service.
2018-10-06 12:06:54 -07:00
aikaterna
7129b52ee6 [V3 Timezone] API Changes
The free API will be removed on Oct 4, 2018.
2018-09-29 12:41:49 -07:00
aikaterna
a096fee054 [V3 Timezone] Initial commit 2018-09-24 11:41:21 -07:00