Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why not both?

if the date is less than a couple of days old (or whatever threshold works for you) display a relative date. This is useful because in the short term relative dates are more useful to the user. If it's older than the threshold display a YYYY-MM-DD H:m:s or whatever format floats your boat.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: