miller/test/input/strftime_local-tz.mlr
2021-11-11 14:15:13 -05:00

17 lines
665 B
Text

end {
print "---------------------------------------------------------------- TIMEZONE";
print "TZ is", ENV["TZ"];
print "---------------------------------------------------------------- STRFTIME_LOCAL";
print strftime_local(0.0, "%Y-%m-%d %H:%M:%S");
print strftime_local(0.0, "%Y-%m-%d %H:%M:%3S");
print strftime_local(0.0, "%Y-%m-%d %H:%M:%S %Z");
print strftime_local(0.0, "%Y-%m-%d %H:%M:%S %z");
print strftime_local(0.123456, "%Y-%m-%d %H:%M:%S %Z");
print strftime_local(0.123456, "%Y-%m-%d %H:%M:%S %z");
print strftime_local(0.0, "%Y-%m-%d %H:%M:%S %Z");
print strftime_local(0.0, "%Y-%m-%d %H:%M:%S %z");
}