Jump to content

Talk:Date (Unix command)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Northernhenge (talk | contribs) at 12:15, 1 April 2025 (Significance of this page: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Significance of this page

@User:Zeibgeist - I appreciate your offer to discuss this page and the redirect from Unix (date). As a courtesy I would have appreciated having this discussion before you decided to delete the content.

The Unix time page which is about how time is represented in Unix systems is a different topic. The redirect to List of POSIX commands is also a loss of information as it lacks details about the parameters of the command. It also failed to mention that date can also set the time, which I will correct shortly.

The date command is not as trivial as a WP:GNG designation would make it, and there are simpler commands such as echo, dirname and pwd that have their own Wikipedia pages.

Features such as recommended input formats for the -d flag and relative time offsets are not usually included in Unix man pages and are buried in the gnu coreutils documentation. The superuser requirement for setting the date is also not mentioned - I've added a source for this.

For the above reasons I have reverted your changes.

There are two environment variables that alter the date presentation - LC_TIME and TZ. I had originally intended to include this information but did not have a source beyond my personal knowledge of the command. I've since located sources for each and have added these changes. GelvinM (talk) 23:12, 23 March 2025 (UTC)[reply]

When I first saw this article it reminded me of the Wikipedia Manual of Style which says: "Wikipedia is an encyclopedic reference, not an instruction manual, guidebook, or textbook" (WP:NOTHOW). So I tried to find information elsewhere about date (unix command) to see where the idea came from, who wrote the code, how has it developed over time etc etc but I didn’t find anything. I also noticed that it needed quite a bit of attention to its overall formatting. I fixed some issues but, looking at it again, I missed quite a few.
Seeing GelvinM's reference to echo (command), dirname and pwd, I've now looked at those articles and they are less about teaching readers the syntax, and more about explaining the context, so I can see why they are there. However, as a general point, the WP:WHATABOUTX essay says: "The nature of Wikipedia means that you cannot make a convincing argument based solely on whether other articles do or do not exist" so the existence of the dirname article doesn’t defend the existence of the date (Unix command) article. (An alternative argument might be that the command articles collectively form a set, but then we’re back to the NOTHOW problem.)
If this article stays, then it needs far more background information to turn it into an encyclopedia article. It also needs its remaining formatting issues sorting out, for example any quotation marks that don't need to be curly should be straight. (I know some Unix shells make special use of curly quotes so I’m not saying just take them all out.) There's a double-equals sign (==) in the article – is that a typo or does it have a meaning in that location? --Northernhenge (talk) 12:42, 24 March 2025 (UTC)[reply]
The Linux manpage credits David MacKenzie. (I haven’t looked for a Unix manpage.) He doesn’t seem to have a wikipedia article. He’s been interviewed sometimes about his other work and has a video at https://www.youtube.com/watch?v=D7vfI-WSP8Q but there isn’t really much to be said about a date command. I’m still concerned about WP:NOTHOW (and although this isn’t a deletion argument, I’m still not convinced by the curly quotes and double-equals). The only reason I haven’t yet nominated it for deletion is that, following @Zeibgeist’s correct (in my view) change to a redirect, @GelvinM wanted to carry on working on it, but I can’t currently see what direction it could go in unfortunately. --Northernhenge (talk) 12:15, 1 April 2025 (UTC)[reply]