[server] improve TZDatetime support
by depending on logilab-database 1.15.0 including
https://www.logilab.org/ticket/1485893, we can now keep the tzinfo
attribute on datetime objects for TZDatetime attributes, so one knows
that this is a tz-aware datetime.
To easily make it work with backends that have no tz support, we keep
converting tz-aware datetime objects into utc naive datetime objects
before sending them to the database.
<html>
<head>
<!-- dependencies -->
<script type="text/javascript">
var JSON_BASE_URL = '';
</script>
<script type="text/javascript" src="/data/jquery.js"></script>
<script src="/data/cubicweb.js" type="text/javascript"></script>
<script src="/data/cubicweb.htmlhelpers.js" type="text/javascript"></script>
<script src="/data/cubicweb.python.js" type="text/javascript"></script>
<script src="/data/cubicweb.compat.js" type="text/javascript"></script>
<script src="/data/cubicweb.ajax.js" type="text/javascript"></script>
<!-- qunit files -->
<script type="text/javascript" src="/devtools/qunit.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="/devtools/qunit.css" />
<!-- test suite -->
<script src="/devtools/cwmock.js" type="text/javascript"></script>
<script src="test_ajax.js" type="text/javascript"></script>
</head>
<body>
<div id="main"> </div>
<h1 id="qunit-header">cubicweb.ajax.js functions tests</h1>
<h2 id="qunit-banner"></h2>
<ol id="qunit-tests">
</body>
</html>