mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 02:53:41 +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";
|
|
}
|