Skip to content

Commit

Permalink
Fixed bug in gam calendar update event introduced in 5.34.02 where …
Browse files Browse the repository at this point in the history
…updating an event's start or end time appeared to work but no change was actually made.
  • Loading branch information
taers232c committed Mar 27, 2021
1 parent 8dcf936 commit 63589ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
global:
- BUILD_PYTHON_VERSION=3.9.2
- MIN_PYTHON_VERSION=3.9.2
- BUILD_OPENSSL_VERSION=1.1.1j
- BUILD_OPENSSL_VERSION=1.1.1k
- MIN_OPENSSL_VERSION=1.1.1i
- PATCHELF_VERSION=0.12
- PYINSTALLER_COMMIT=40c9abce2d8de879e414fd377c933dccaab1e156
Expand Down
4 changes: 2 additions & 2 deletions src/GamCommands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,8 @@ gam calendar <CalendarEntity> printacl [todrive <ToDriveAttribute>*] [formatjson
<AttendeeStatus> ::= accepted|declined|needsaction|tentative

<EventSelectProperty> ::=
(after|start|starttime|timemin <Time>)|
(before|end|endtime|timemax <Time>)|
(after|starttime|timemin <Time>)|
(before|endtime|timemax <Time>)|
(query <QueryCalendar>)|
(privateextendedproperty <String>)|
(sharedextendedproperty <Syting>)|
Expand Down
5 changes: 5 additions & 0 deletions src/GamUpdate.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
6.00.03

Fixed bug in `gam calendar update event` introduced in 5.34.02 where updating an event's start or end time appeared to work
but no change was actually made.

6.00.02

Added support for stand-alone course materials; these were not previously supported by the Google Classroom API.
Expand Down
4 changes: 1 addition & 3 deletions src/gam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"""

__author__ = 'Ross Scroggs <[email protected]>'
__version__ = '6.00.02'
__version__ = '6.00.03'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'

import base64
Expand Down Expand Up @@ -25675,7 +25675,6 @@ def doCalendarsPrintShowACLs(calIds):
LIST_EVENTS_SELECT_PROPERTIES = {
'after': ('timeMin', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'before': ('timeMax', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'end': ('timeMax', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'endtime': ('timeMax', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'includedeleted': ('showDeleted', {GC.VAR_TYPE: GC.TYPE_BOOLEAN}),
'includehidden': ('showHiddenInvitations', {GC.VAR_TYPE: GC.TYPE_BOOLEAN}),
Expand All @@ -25684,7 +25683,6 @@ def doCalendarsPrintShowACLs(calIds):
'showdeletedevents': ('showDeleted', {GC.VAR_TYPE: GC.TYPE_BOOLEAN}),
'showhiddeninvitations': ('showHiddenInvitations', {GC.VAR_TYPE: GC.TYPE_BOOLEAN}),
'singleevents': ('singleEvents', {GC.VAR_TYPE: GC.TYPE_BOOLEAN}),
'start': ('timeMin', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'starttime': ('timeMin', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'timemax': ('timeMax', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
'timemin': ('timeMin', {GC.VAR_TYPE: GC.TYPE_DATETIME}),
Expand Down

0 comments on commit 63589ea

Please sign in to comment.