mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
* DSL functions for 64-bit nano-epoch timestamps * strfntime * nsec2gmt; move sec/nsec pairs adjacent to one another * update on-line help * artifacts from `make dev` * unit-test files
17 lines
658 B
Text
17 lines
658 B
Text
end {
|
|
|
|
print "---------------------------------------------------------------- TIMEZONE";
|
|
print "TZ is", ENV["TZ"];
|
|
|
|
print "---------------------------------------------------------------- STRFNTIME_LOCAL";
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%S");
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%3S");
|
|
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%S %z");
|
|
print strfntime_local(123456, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strfntime_local(123456, "%Y-%m-%d %H:%M:%S %z");
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strfntime_local(0, "%Y-%m-%d %H:%M:%S %z");
|
|
|
|
}
|