File: dconv.133.ctst

package info (click to toggle)
dateutils 0.4.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,228 kB
  • sloc: ansic: 22,598; makefile: 1,771; yacc: 202; sh: 168; lex: 108
file content (9 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/usr/bin/clitosis  ## -*- shell-script -*-

$ dconv -b 2016-01-01 --input-format "%b %d %H:%M:%S" --format "%F %T" "Oct 1 12:05:00"
2016-10-01 12:05:00
$ dconv -b 2016-01-01 --input-format "%b %d %H:%M:%S" --format "%F %T" "Oct  1 12:05:00"
2016-10-01 12:05:00
$

## dconv.133.ctst ends here