GetTime / Base64str , reverse logic arguments

Report any Hollywood bugs here
Post Reply
plouf
Posts: 472
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

GetTime / Base64str , reverse logic arguments

Post by plouf »

the following two arguments are reversed in logic and in documentation
they should work reversed in true/false logic

Code: Select all

DebugPrint(GetTime(secs=False))
DebugPrint(GetTime(secs=True))

DebugPrint(Base64Str("test",encode=False))
DebugPrint(Base64Str("test",encode=True))
Christos
User avatar
jPV
Posts: 604
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: GetTime / Base64str , reverse logic arguments

Post by jPV »

You're doing it wrong. Arguments given to these functions aren't tables, but just simple True or False values.

It works as documented when using like it's supposed in this way:
DebugPrint(GetTime(False))
DebugPrint(GetTime(True))
Post Reply