mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +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";
|
|
}
|