diff options
author | Tobias Markmann <tm@ayena.de> | 2015-09-21 10:06:57 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-09-21 10:06:57 (GMT) |
commit | eed183fbd5d121049d5965d7c60abd65f44d0376 (patch) | |
tree | 63caaca65cc39a9fffc3f91dd7cafad79d4be4a5 /Sluift/GenericLuaElementConvertor.h | |
parent | 68bb160b993dde045f502f10ecbbccce9d9184c1 (diff) | |
download | swift-eed183fbd5d121049d5965d7c60abd65f44d0376.zip swift-eed183fbd5d121049d5965d7c60abd65f44d0376.tar.bz2 |
Stop throwing out of range exception from dateTimeToLocalString
The dateTimeToLocalString uses boost functions that may throw
an out of range exception for times earlier than 1970.
This commit caches this exception and just returns an empty
string in this case.
Test-Information:
Added a unit test to verify this behavior.
Change-Id: I05eb17605331e14d9eac04fbfd286362e7d4eb46
Diffstat (limited to 'Sluift/GenericLuaElementConvertor.h')
0 files changed, 0 insertions, 0 deletions