OpenConext / OpenConext-engineblock

OpenConext SAML 2.0 IdP/SP Gateway
14 stars 22 forks source link

Log the timestamp of the loginrequest in milliseconds precision #1479

Closed phavekes closed 2 days ago

phavekes commented 2 days ago

This issue is imported from pivotal - Originaly created at Jul 3, 2018 by Bart Geesink

Currently the precision of the login is in seconds. For the new statistics processing we\'d like to use a higher precision. From DATE_RFC3339 (=ATOM) to DATE_RFC3339_EXTENDED (example: 2005-08-15T15:52:01.000+00:00)

phavekes commented 2 days ago

Note: DateTime::RFC3339_EXTENDED is not available in PHP5, see https://stackoverflow.com/questions/17909871/getting-date-format-m-d-y-his-u-from-milliseconds for inspiration on a backwards compatible approach. (Joris Steyn - Jul 4, 2018)