summaryrefslogtreecommitdiff
path: root/lib/date
AgeCommit message (Collapse)Author
2018-01-27Remove std.sleqOri Bernstein
We have std.eq. We still export a generic sleq for compatibility, but we don't need it or want it.
2018-01-11Move to new trait syntax.Ori Bernstein
2018-01-10Die on bad options, and use a \n in the format string.Ori Bernstein
2017-12-25Formatting as a state machine.Ori Bernstein
2017-11-20Cache timezone info.Ori Bernstein
Loading and parsing zoneinfo files every time we print a date? eugh.
2017-11-14Rename comparable => equatableOri Bernstein
2017-11-14Use new traits to implement hash tablesLucas Gabriel Vuotto
Signed-off-by: Lucas Gabriel Vuotto <lvuotto92@gmail.com>
2017-11-05Implement graphemestepS. Gilles
And change 'strstep' to 'charstep' for consistency, now that it has a sibling function.
2017-10-30Use `wday` to get weekday, instead of day of month.Ori Bernstein
Fixes #148
2017-09-26Left-pad %m and %k output with 0S. Gilles
2017-09-26Match date abbreviations in the middle of formatsS. Gilles
2017-07-17Convert from `in` to `:`.Ori Bernstein
The winds of change are a-blowin.
2017-02-04Ucons are now prefix expressions.Ori Bernstein
It's just what it looks like. This cleans up taking the address of union literals.
2016-08-27Rename `std.Fail to `std.Err.Ori Bernstein
2016-05-26Some 9front build fixes.glenda@drat
2016-05-18Fix bld.subOri Bernstein
2016-05-17New syntax for casts.Ori Bernstein
2016-01-23Move away from ".use" suffix.Ori Bernstein
2015-11-07Pass the time zone offset through everywhere.Ori Bernstein
We don't always have a zone name, eg, when parsing from a string.
2015-11-06Fix some date formatting functions.Ori Bernstein
2015-09-23Handle AM and PM more correctly.Ori Bernstein
2015-09-23Return parse errors.Ori Bernstein
2015-09-23Zoneinfo doesn't apply on Plan 9.Ori Bernstein
2015-09-23Fix and test parsing with timezones.Ori Bernstein
2015-09-22Refactor a bit.Ori Bernstein
2015-09-22Add constructors for ymd and ymdhmsOri Bernstein
2015-09-22Test for leap year transitions.Ori Bernstein
2015-09-22Add period addition/subtraction.Ori Bernstein
2015-09-22Fix dates in the BCOri Bernstein
2015-09-14Fix up earlier times.Ori Bernstein
2015-09-14Move to use implicit tests.Ori Bernstein
2015-09-14Default to std.DatetimefmtOri Bernstein
2015-09-14use std.fmt for dates.Ori Bernstein
2015-09-11Fix format string issues.Ori Bernstein
2015-06-18Update to new APIs/mbld.Ori Bernstein
2015-05-17Fix libdate for new Myrddin changes.Ori Bernstein
2015-04-15Update to most recent Myrddin.Ori Bernstein
2015-01-03Delete configure script.Ori Bernstein
We removed the makefiles that use it.
2015-01-03Move to mbld for libdate.Ori Bernstein
2015-01-03Fix namespace conflicts.Ori Bernstein
date.foo doesn't work in namespace 'date'.
2014-10-10Fix libdate to compile with libstd splitOri Bernstein
2014-09-26Fix build: unimplemented functions commented.Ori Bernstein
2014-08-31mkdate => mkinstantOri Bernstein
2014-08-31Rename diff to delta.Ori Bernstein
2014-08-31Just use constants for well-known formats.Ori Bernstein
2014-08-30Add working date parsing. Mostly.Ori Bernstein
Lots of testing yet to do.
2014-08-30Fix date parsing.Ori Bernstein
2014-08-29Add missing file.Ori Bernstein
2014-08-29Add preliminary, untested parsing.Ori Bernstein
2014-08-29Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/libdateOri Bernstein
Conflicts: date.myr