Axel Ismirlian
e9c5af3c45
Renamed variable v_type to var_type so it no longer conflicts with the definition of an AIX system variable.
2014-08-08 10:47:45 -05:00
Noel Belcourt
b43dd52cdc
Merge pull request #14 from danieljames/lexical-cast-link
...
Update link to lexical_cast.
2014-06-25 13:14:11 -06:00
Daniel James
e4f4a89339
Update link to lexical cast.
2014-06-16 11:15:38 +01:00
Noel Belcourt
f1f69e1c78
Merge pull request #13 from Lastique/develop
...
Restored to_time_t() function
2014-06-02 11:08:31 -06:00
Andrey Semashev
ae536816ee
Restored to_time_t() function removed by commit 6636f49f13.
2014-05-31 20:46:36 +04:00
Daniel James
6cc1cb5ae5
Merge pull request #12 from Lastique/develop
...
Fix Boost.Sync tests breakage.
2014-05-31 15:12:47 +01:00
Andrey Semashev
805bf4dffe
Added comments to the type tags.
2014-05-31 17:49:52 +04:00
Andrey Semashev
1753a38289
Fix Boost.Sync tests breakage.
...
Re-add date/time type tags removed by commit 6636f49f13 . These tags are used by Boost.Sync to categorize different date/time types.
2014-05-31 17:13:25 +04:00
K. Noel Belcourt
a403bdac5b
Merge branch 'develop'
boost-1.57.0
boost-1.56.0
2014-05-09 20:36:27 -06:00
K. Noel Belcourt
6636f49f13
Merge branch 'master' into develop
2014-05-09 20:36:03 -06:00
Noel Belcourt
98d1ae6536
Merge pull request #9 from danieljames/timezone-test
...
Add some automatic checks to testc_local_adjustor.
Seems okay to me, thanks!
2014-05-03 11:04:00 -06:00
Marshall Clow
23f7406095
Merge pull request #10 from maksqwe/unused_fix
...
Remove unused locale variable
2014-04-15 06:21:03 -07:00
Maks Naumov
2df204ba78
remove unused variable in tz_db_base::load_from_file()
2014-04-15 16:08:11 +03:00
Daniel James
6f82742918
Add some automatic checks to testc_local_adjustor.
...
Not full tests, but enough to catch the error fixed in
344c0dceb4 .
2014-04-07 22:30:38 +01:00
Daniel James
c32726ec7e
Merge pull request #8 from mingulov/patch-1_1
...
#else/#endif comments are updated accordingly to the used condition
2014-03-25 15:05:14 +00:00
Denis Mingulov
9ad0419530
#else/#endif comments are updated accordingly to the used condition
...
Fixed incorrect comments for the condition at the next line:
#if defined(BOOST_DATE_TIME_HAS_REENTRANT_STD_FUNCTIONS)
There were later:
#else // BOOST_HAS_THREADS
#endif // BOOST_HAS_THREADS
It prevented a proper fast undesrstanding of the source.
2014-03-24 08:41:16 +02:00
Marshall Clow
ffe85c7d4b
Merge branch 'develop' of github.com:boostorg/date_time into develop
2014-03-15 08:53:40 -07:00
Marshall Clow
21a29b977b
Clarified the docs and examples for previous_weekday and next_weekday. Refs #5753 .
2014-03-15 08:53:14 -07:00
Marshall Clow
ef81faff5f
Added test for bug #5041 - %y in single digit year
...
Ahmed Charles: Tests pass with MSVC 2013.
2014-03-13 15:08:38 -07:00
Marshall Clow
4d44fae9ac
Merge pull request #2 from DanielaE/feature/qoi-warnings
...
Suppress msvc level-4 warnings.
2014-03-12 08:29:22 -07:00
Marshall Clow
f9d548ae92
Create first merge point for git
2014-03-12 08:24:18 -07:00
Andrey Semashev
f42e7f6287
Fixed locally defined but not unused typedef warnings on GCC.
...
Passes tests.
2014-03-02 01:30:52 -08:00
Daniela Engert
c4abfc8cbb
Suppress msvc level-4 warnings.
...
Even when compiled at warning level 4 (i.e. all), project policies may require compilations without warnings issued.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2014-02-07 18:17:40 +01:00
Noel Belcourt
344c0dceb4
Merge pull request #4 from MarcelRaad/patch-1
...
Fix for utc_to_local year 2038 problem
2014-02-06 20:32:28 -07:00
Noel Belcourt
30e7e7ae46
Merge pull request #1 from DanielaE/fix/bad_narrow
...
fix: narrow uses insufficient input char type
2014-02-06 20:23:53 -07:00
Marcel Raad
c88efdea68
Fix for utc_to_local year 2038 problem
...
Even if std::time_t is 64-bit, multiplying the 32-bit value dd.days() by 86400 result in a negative value for dates after 2038. This results in c_time::localtime(&t2, &tms) throwing an exception.
Adding casts to std::time_t fixes this problem.
2014-01-20 13:26:43 +01:00
Daniela Engert
ad1899abd9
fix: narrow uses insufficient input char type
...
The current implementation uses std::stringstream::narrow(char) with its 'char' input parameter type to transform 'charT' chars taken from a std::basic_istream<charT> into 'char' chars. This is most likely not what is intended if 'charT' is wider than 'char'. Fix this by using std::basic_istream<charT>::narrow(charT) instead.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2013-12-30 17:41:34 +01:00
Marshall Clow
057e0aaf64
Merge DateTime bug fix to Release; Fixes #9216
...
[SVN r86322]
2013-10-15 15:22:02 +00:00
Marshall Clow
072b4e1b61
Fix several 'iterating past the end' bugs in Boost.DateTime; Refs #9216
...
[SVN r86230]
2013-10-10 15:43:31 +00:00
Stephen Kelly
fe1f823e3a
DateTime: Remove obsolete GCC version checks.
...
[SVN r86108]
2013-10-01 08:43:14 +00:00
Stephen Kelly
dee09f0e62
DateTime: Remove obsolete MSVC version check.
...
[SVN r86027]
2013-09-30 00:18:55 +00:00
Stephen Kelly
af581a1f2a
DateTime: Remove obsolete MSVC version checks.
...
[SVN r85905]
2013-09-25 13:52:11 +00:00
Andrey Semashev
71ccdd2fe5
Added tags for integration with Boost.Sync.
...
[SVN r85672]
2013-09-15 10:21:59 +00:00
Marshall Clow
d123f62bdc
Merge fix for C++11 compilation error
...
[SVN r85045]
2013-07-15 13:55:21 +00:00
Marshall Clow
98f041d7fd
Merge bug fixes to release. Fixes #6136 . Fixes #5550
...
[SVN r84860]
2013-06-21 15:04:12 +00:00
Marshall Clow
990187b70c
Fixed more compiler warnings; Refs #5550
...
[SVN r84835]
2013-06-19 15:36:32 +00:00
Marshall Clow
0054ff1ab7
Fixed more compiler warnings; Refs #6136
...
[SVN r84834]
2013-06-19 15:25:05 +00:00
Marshall Clow
0764743fb9
Apply patch to release branch; Fixes #8391
...
[SVN r84755]
2013-06-13 14:00:48 +00:00
Marshall Clow
250b88cfb5
Removed extraneous return-unreachable introduced in [84645]
...
[SVN r84647]
2013-06-05 20:16:21 +00:00
Marshall Clow
d9874a3140
More error checking on tz files; Refs #8391
...
[SVN r84645]
2013-06-05 20:04:10 +00:00
Marshall Clow
47c81a9033
In C++11 the shared_ptr -> bool conversion is explicit. In custom time zone code, make the cast explicit. Fixes compilation failure in C++11
...
[SVN r84626]
2013-06-04 04:34:29 +00:00
Jürgen Hunold
5e009f6002
untabify to adjust to style of the rest of the file
...
[SVN r84290]
2013-05-15 09:14:11 +00:00
Jürgen Hunold
9454bb4e1c
add inline to avoid duplicate symbol warnings
...
[SVN r84289]
2013-05-15 09:13:17 +00:00
Marshall Clow
5126bfbc0a
Added missing call 'to_time_t' (and tests)
...
[SVN r84284]
2013-05-14 21:22:01 +00:00
Andrey Semashev
6bbd9f50bc
Merged changes from trunk. Fixes #3471 .
...
[SVN r80940]
2012-10-10 19:05:03 +00:00
Andrey Semashev
98bbc0b95c
Fixed compilation with MinGW.
...
[SVN r80890]
2012-10-06 17:54:32 +00:00
Andrey Semashev
29c0f85c14
Fixed compilation with MSVC.
...
[SVN r80889]
2012-10-06 17:46:27 +00:00
Andrey Semashev
11974f29b2
Refs #3471 . Precompute the duration conversion coefficient to avoid integer overflow. Added a test for integer overflow in the subsecond duration constructor.
...
[SVN r80887]
2012-10-06 17:34:06 +00:00
Marshall Clow
365c29f1a1
Merge bug fixes to release; Fixes #5550 Fixes #6136 Fixes #6513 Fixes #7111 Fixes #7112 Fixes #7113 Fixes #7342 Fixes #7426
...
[SVN r80797]
2012-09-30 23:25:22 +00:00
Marshall Clow
2e31c3b92e
Commented out unused parameters in date-time; Refs #7426
...
[SVN r80722]
2012-09-27 14:24:15 +00:00