Comment

Comment by shazow

  "08-08-2012-20:27:59"
Which 08 is the day or the month?

  cut -d ' ' -f2- foo.log | sort
Great, now it's sorted by (month, day, year) or (day, month, year). If my logs span multiple years, the sorting is useless.

Please use YYYY-MM-DD. It's sortable and more intuitive for everyone outside of the USA. See also http://en.wikipedia.org/wiki/ISO_8601

parent shazow 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton