28 Commits

Author SHA1 Message Date
Cyrill Schumacher
e2f2495bda Replace docker assert with stretchr assert 2019-09-18 09:51:25 +02:00
Florian Schlegel
0ba998d46c update unit tests 2019-03-18 18:07:22 +01:00
Florian Schlegel
2b1cad5db9 fix GetTimeFromYYYYMMDD() for summer/winter time transition 2019-03-18 17:46:52 +01:00
Stefan Martinov
0f79b26134 Update all persistors to use session connection pool 2017-11-07 15:35:47 +01:00
Florian Schlegel
41dfb5163b added automatic swtich from summer to winter time for respective time methods 2017-10-24 11:16:01 +02:00
Florian Schlegel
fb1ecd6134 Added constants for UTC offset 2017-09-20 17:21:58 +02:00
Florian Schlegel
18e7ad9f8d and again 2017-04-04 11:04:16 +02:00
Florian Schlegel
2b663f9115 reversed change 2017-03-29 15:55:23 +02:00
Florian Schlegel
b61e521d83 temporary fix for time summer/wintertime issue 2017-03-29 11:45:30 +02:00
Florian Schlegel
0cec00d4ac refactored GetTimeHHMMSS 2017-01-22 00:19:27 +01:00
Florian Schlegel
942c7f5009 adjusted times for CET 2017-01-21 23:59:38 +01:00
Florian Schlegel
06ee9e7158 added GetTimeHHMMSS 2017-01-21 14:00:28 +01:00
Florian Schlegel
b48731b071 use timezone Zurich 2017-01-20 10:02:32 +01:00
Florian Schlegel
a56fdc3567 added GetTimeForDay() and TimeIsOnSameDay() and test 2017-01-02 12:41:24 +01:00
Florian Schlegel
65aef34158 added TimeIsWithinLifeTimeYYYY_MM_DD() 2016-12-08 11:15:17 +01:00
Florian Schlegel
64766c30d0 added Round() 2016-10-24 17:22:26 +02:00
Florian Schlegel
af3efa0350 added GetTimeFromYYY_MM_DD() 2016-10-13 18:07:21 +02:00
Florian Schlegel
d9819f44a7 added GetFormattedTimeYYYY_MM_DD() 2016-10-12 18:01:57 +02:00
Florian Schlegel
eaa034c3f9 added some methods and tests for dates 2016-09-30 14:14:46 +02:00
Florian Schlegel
912fad183b added getter for date with format "1980-03-07" 2016-08-08 13:38:53 +02:00
Florian Schlegel
4096580a78 moved WhoCalledMe methods and added IteString 2016-05-31 16:30:54 +02:00
Florian Schlegel
70ce9fb664 clean up 2016-05-25 14:23:58 +02:00
Florian Schlegel
3f99aa0ead added functionto log function callers 2016-05-24 12:17:43 +02:00
Florian Schlegel
3423680718 added function to open diffs as html in browser 2016-05-24 09:25:36 +02:00
Florian Schlegel
fe3933a14f added function to reflect function names 2016-05-20 11:19:18 +02:00
Florian Schlegel
6f0117f62d Big refactoring to make customer independant from order. Introduced Getters and Setters for Order and Customer for more controlled acces. Unfortunatly it's impossible to protect any fields from unwanted modifications by private fields, because only public fields can be stored in the db. 2016-05-18 18:31:20 +02:00
Florian Schlegel
f0e9d4af33 DropAllCollections() no longer panics on error. Error is legitimate if database does not exsit and does not hurt further actions. 2016-03-11 17:41:53 +01:00
Florian Schlegel
59ad577182 minor refactoring. added utils with DropAllCollections(), so that tests can reseet the db conveniently 2016-03-10 19:06:38 +01:00