summaryrefslogtreecommitdiff
path: root/louloulibs/utils/time.cpp
AgeCommit message (Collapse)Author
2016-10-11Conditionally use strptime if we don’t have std::get_timelouiz’
2016-10-11Parse the timezone myself, instead of using the broken strptimelouiz’
See https://lab.louiz.org/louiz/biboumi/issues/3215 https://github.com/andikleen/glibc/blob/master/time/strptime_l.c#L746-L747 for why strptime() sucks We use std::get_time now, to parse the date and time. And we parse the timezone by hand. fix #3215
2016-10-03Fix parse_datetime by always using a 'z' as the timezonelouiz’
Because some plateform accept Z and z, but some only accept z…
2016-09-17Fix the parse_datetime by using %Z instead of %zlouiz’
If anybody knows why fedora accepts both, but it only works with %z on debian, please tell me.
2016-08-31Add parse_datetimelouiz’
2016-08-31Fix to_string(time_t) and write a unit test for itlouiz’
2016-08-28Respond to MAM requests on a channel JIDlouiz’
At the moment, result-set-management is not implemented, the whole history (well, at most 1024 messages) is returned.
2015-05-28louloulibs is directly included, instead of being a submoduleFlorent Le Coz
Because this is a nightmare to manage
2015-05-27Avoid some potential race conditions by blocking the signals we manageFlorent Le Coz
They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any race condition on the check of the “stop” or “reload” booleans.
2015-05-13Update to latest louloulibs revision, and add test for hostname validityFlorent Le Coz
fix #2694
2015-05-07Update to latest louloulibsFlorent Le Coz
fix #3042
2015-04-21Properly check for connecting or connected status before reconnectingFlorent Le Coz
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048
2015-04-20Update louloulibs submodule to the correct revisionFlorent Le Coz
2015-04-20Decode incoming JIDs local part according to xep 0106Florent Le Coz
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
2015-03-04Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update to latest louloulibs revisionFlorent Le Coz
2015-03-02Update louloulibs to last revisionFlorent Le Coz
2015-02-27Only use include_directory() if the directory path is definedFlorent Le Coz
2015-02-27Add louloulibs as a submoduleFlorent Le Coz