summaryrefslogtreecommitdiff
path: root/Userland/date.cpp
AgeCommit message (Collapse)Author
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling
2021-01-07date: Use ArgsParser and add ISO8601 / RFC3339 / RFC5322 output formatsBrendan Coles
2020-06-12AK: Make string-to-number conversion helpers return OptionalAndreas Kling
Get rid of the weird old signature: - int StringType::to_int(bool& ok) const And replace it with sensible new signature: - Optional<int> StringType::to_int() const
2020-05-09Userland: Remove double-'#include' in date.cppBen Wiederhake
2020-05-08Kernel+Userland: Add "settime" pledge promise for setting system timeAndreas Kling
We now require the "settime" promise from pledged processes who want to change the system time.
2020-03-19Userland: Add functionality of changing system date in date utilityLiav A
2020-02-18date: Use pledge()Andreas Kling
2020-02-15LibCore: Move LogStream::operator<< overloads into cpp filesAndreas Kling
2020-02-11Userland: Use Core::DateTimeAndreas Kling
2020-01-27Kernel+LibC+Userland: Switch to 64-bit time_tAndreas Kling
Let's not have that 2038 problem people are talking about. :^)
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-05-04date: Add "-u" argument for printing current Unix timestamp.Andreas Kling
2019-02-03Userland: Make /bin/date pretty-print the date, too.Andreas Kling
2018-11-09Fix all current build warnings in the userland.Andreas Kling
2018-10-25Add gettimeofday() syscall and LibC wrappers gettimeofday() and time().Andreas Kling
This only has second accuracy right now, I'll work out subseconds later.