python - Python ldap3 日期时间
问题描述
我通过 Python2/ldap3 向 LDAP 发送日期:
到 LDAP 的出口 (389DS): 20190731000000Z
但是,当通过 Python3/ldap3 从 LDAP 读取时:
来自 LDAP (389DS) 的入口: 2019-07-31 00:00:00+00:00
在 LDAP 中,EQUALITY是generalizedTimeMatch。
什么可能导致差异?
解决方案
推荐阅读
- vue.js - 如何设置离子输入的值?
- python-3.x - 通过有状态对象获取渐变
- kotlin - 在基类初始化(直接或间接)中使用覆盖属性的示例是什么?
- c - 手动获取指针的值 | 错误:应忽略的无效值
- c# - 在我们中间构建 C# 时生成引用错误 mod
- reactjs - 将材质ui功能组件迷你变体抽屉转换为类组件Reactjs
- python - 如何以编程方式告知 AWS Step Function 执行已完成?
- jquery - 使用 jQuery 进行模态和事件处理
- android - Ionic FCM 通知自定义声音在 android 7 中有效,但在其他系统中无效
- python - Python:如何将此字符 \ 放在字符串的末尾