mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +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";
|
|
}
|