summaryrefslogtreecommitdiff
path: root/src/times.cc
Commit message (Collapse)AuthorAgeFilesLines
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Fix build under Cygwin.Ivan Vanyushkin2016-09-291-1/+1
|
* Fix build under msys32; add Appveyor continuous buildEvan Mallory2016-09-171-1/+1
| | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR.
* days - do not stabalize periods spacified in daysPeter Pickford2016-03-131-12/+26
| | | | | | | | weeks - calculate start date for finding period using remainer 400/periodlength to reduce number of iterations (perhaps this ought to follow the same conventio as years months and quarters) add sample period command tests add add day period tests for forecasts and budgets add week period tests for forecasts and budgets - these do not change
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Add ISO 8601 date as recognized date stringMartin Michlmayr2014-10-021-0/+1
| | | | | | | | Dates specified via --begin and --end are converted to a value expression using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by ledger. Bug fix for #1072
* Fix period expression parsing for month to month without yearMartin Michlmayr2014-10-021-2/+1
| | | | Bug fix for #1074, a regression introduced by the fix for bug #375
* Check whether a month is followed by a yearMartin Michlmayr2014-05-301-0/+11
| | | | Bug fix for #375
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Source changes needed for Microsoft Visual C++ compatibility.Tim Crews2013-06-141-0/+4
| | | | Includes an implementation of strptime, compiled only for Win32 platform.
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-7/+7
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-7/+7
|
* Fixed a hidden memory corruption bugJohn Wiegley2012-05-141-4/+4
|
* Allow --input-date-format to specify separatorsJohn Wiegley2012-03-191-3/+8
| | | | Fixes #650
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Corrected problem with parsing of leap daysJohn Wiegley2012-02-281-0/+1
|
* Rewrite the way interval reports are generatedJohn Wiegley2012-02-281-5/+9
|
* Added debug code for debugging interval reportsJohn Wiegley2012-02-281-0/+11
|
* Removed unneeded default casesJohn Wiegley2012-02-171-9/+0
|
* Fixes for variable shadowing (27/28)John Wiegley2012-02-171-3/+3
|
* Fixes for variable shadowing (26/28)John Wiegley2012-02-171-2/+1
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Removed unused variablesJohn Wiegley2011-08-181-4/+1
|
* Clarified an #ifdefJohn Wiegley2011-04-111-0/+3
|
* Parse %m/%d/%Y %H:%M:%S as an input date/timeJohn Wiegley2010-12-041-2/+9
| | | | This is to support reading of Timelog files.
* Improvements to time period parsingJohn Wiegley2010-06-211-8/+190
| | | | | Things like "since last month" and "4 weeks ago", and "since 4 weeks ago" are now all working.
* Added missing call to resolve_end() in find_periodJohn Wiegley2010-06-201-0/+2
|
* --input-date-format now affects dates with timesJohn Wiegley2010-06-201-1/+8
|
* Support period expressions "this/next/last week"John Wiegley2010-06-141-14/+28
|
* Allow period exprs "from today", "until tomorrow"John Wiegley2010-06-141-0/+10
|
* Support period expressions like "last 4 weeks"John Wiegley2010-06-141-12/+37
|
* Fix to allow time periods like "every 14 days"John Wiegley2010-06-141-1/+1
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-33/+22
| | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year.
* Added a missing break statementJohn Wiegley2010-06-131-0/+1
| | | | This broke the meaning of -p "this month".
* Option --input-date-format adds to candidate listJohn Wiegley2010-06-131-2/+2
|
* Untabified all source filesJohn Wiegley2010-06-111-442/+442
|
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-041-0/+2
|
* Fixed two memory reference errorsJohn Wiegley2010-06-021-7/+6
|
* If FMT_CUSTOM is given, and no format, use FMT_PRINTEDJohn Wiegley2010-05-221-2/+2
|
* Report an error for incorrect dates like 2010/04/32John Wiegley2010-05-221-20/+34
| | | | Fixes EF57C685-2C18-49A1-9A8C-FB3BE6F99C41
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Restore "-p this" option (aka -p 'this month')John Wiegley2010-01-211-11/+7
|
* Fix for date parsing when no year is givenJohn Wiegley2010-01-161-1/+1
|
* Don't rely on the integral value of a booleanJohn Wiegley2009-11-201-2/+5
|
* Guarded some debug codeJohn Wiegley2009-11-181-0/+2
|
* The new period parser is passing all testsJohn Wiegley2009-11-181-102/+173
|
* The new period parser is implemented, but untestedJohn Wiegley2009-11-181-308/+651
|