aboutsummaryrefslogtreecommitdiff
path: root/module/datetime.scm (unfollow)
Commit message (Collapse)Author
2022-07-07Change date/time interface.Hugo Hörnquist
2022-07-07Remove set! from datetime.Hugo Hörnquist
2022-07-07Remove case*.Hugo Hörnquist
It has its uses, but like others, its extra weight.
2022-07-07Move each imported symbol to own line for easier removal.Hugo Hörnquist
This allows each of the following commits to remove a single symbol from the import list without problem.
2022-07-07Fix datetime issues discovered due to new tests.Hugo Hörnquist
2022-06-23Move (date|time)-zero? higher up in datetime.Hugo Hörnquist
2022-06-23Remove (add|remove)-day, and month[+-].Hugo Hörnquist
Procedures where overly specific, and doing it manually was almost no more work.
2022-06-23Normalize keyword syntax.Hugo Hörnquist
2022-06-23Centralize (almost) all exports to :export in define-module.Hugo Hörnquist
2022-06-13Remove custom let*.Hugo Hörnquist
While it was nice, the most important part was the multi-valued let from srfi-71 (which is implemented in srfi-71)). The minor pattern matching structures could often be replaced with car+cdr, or a propper match.
2022-04-21datetime->decimal-hour correct time for hours without days.Hugo Hörnquist
2022-04-21Simplify week-day-name.Hugo Hörnquist
The out of range exception could never occur, since I aleready limited the interval to (n % 7) + 1.
2022-04-11Replace config system with paramater based system.Hugo Hörnquist
This new setup stores all configurations are parameters. This forces everything into modules, and ensures that we can't have a module use an unloaded config. It (unfortunatelly) also causes users to have to specify namespaces when defining values, but ini-files (and the like) already does that. Also, there is nothing stopping a new `set-config!' from being defined which allows un-namespaced operation. The commit also removes the introspection procedures. They where a bit weird to begin with, since they only showed loaded fields. And since the program had no way of properly serializing or deserializing them we remove them for the time being. They would however be good to reintroduce together with a proper menu for editing simple configuration (see Emacs' `custom-set-variables').
2022-04-05Minor fixups.Hugo Hörnquist
2022-03-30Remove parse-time from (datetime timespec).Hugo Hörnquist
2022-03-28Normalize errors.Hugo Hörnquist
2022-03-28Stop exporting internal time+%Hugo Hörnquist
2022-03-01Remove with-stream macro.Hugo Hörnquist
It was an extra (rather complicated) macro to support, which had 2 unresolved TODO:s, and made the resulting code hard to read since it wasn't immediately apparent which procedures where replaced by their stream counterparts. The only using code was rewritten using a threading macro, which is way more readable.
2022-03-01Add unit test for days-in-interval.Hugo Hörnquist
2022-02-13Datetime restrict imports.Hugo Hörnquist
We might want to break datetime out into its own (independent) module, but for that we should have a clear understanding of what it uses.
2022-02-13Datetime remove old commented parse-month.Hugo Hörnquist
2022-02-13Datetime rewrote parse-month.Hugo Hörnquist
2022-02-01Remove define-many.Hugo Hörnquist
It was only used in one module, and provided litle clarity over a simple set of define statementns.
2022-01-31Move stuff from calp/util to hnh/util.Hugo Hörnquist
This is the first (major) step in splitting the generally useful items into its own library.
2022-01-29Add span-upto.Hugo Hörnquist
2022-01-29Add ~b and ~p flags to datetime parser.Hugo Hörnquist
2021-12-09<datetime> no longer crashes.Hugo Hörnquist
2021-08-24Fix warning calls in string->datetime.Hugo Hörnquist
2021-01-14Added string->date/-time.Hugo Hörnquist
2021-01-14Bind full week days in addition to abriviations.Hugo Hörnquist
2020-10-23Add entry-point for generating tidsrapporter.Hugo Hörnquist
2020-09-06Improve datetime error messages.Hugo Hörnquist
2020-08-24Move util modules into calp module..Hugo Hörnquist
2020-08-12Massivly simplify config internals.Hugo Hörnquist
2020-08-10Remove dependency from view/calendar -> datetime.Hugo Hörnquist
2020-08-04Start work on long event layout for months.Hugo Hörnquist
2020-07-30Add datetime-.Hugo Hörnquist
2020-07-27Merge mod!:s functionality into set!Hugo Hörnquist
2020-07-07Remove some TODO:s.Hugo Hörnquist
2020-07-07Major reordering in datetime.Hugo Hörnquist
2020-07-07Clean up datetime parsing.Hugo Hörnquist
2020-07-07Merge (datetime util) into (datetime).Hugo Hörnquist
2020-06-28Add parse-iso-datetime.Hugo Hörnquist
2020-06-15Clarify and fix TZ stuff in (datetime).Hugo Hörnquist
2020-06-13Change write-form of <datetime>.Hugo Hörnquist
2020-06-13Date, time & datetime now display themself in read-able forms.Hugo Hörnquist
2020-05-24Fix multi day overflow in time-.Hugo Hörnquist
2020-05-23Cleanup in datetime.Hugo Hörnquist
2020-05-23date= and time= now work.Hugo Hörnquist
2020-05-19Cleanup in datetime.Hugo Hörnquist