mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-22 08:04:04 +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";
|
||
|
}
|