mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
10 lines
176 B
Plaintext
10 lines
176 B
Plaintext
|
use DateTime::TimeZone;
|
||
|
|
||
|
my $timezone = $ARGV[0];
|
||
|
|
||
|
if (DateTime::TimeZone->is_valid_name($timezone)) {
|
||
|
print "Valid timezone\n";
|
||
|
} else {
|
||
|
print "Invalid timezone\n";
|
||
|
}
|