sardana-nxsrecorder 3.21.0__tar.gz → 3.21.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/ChangeLog +4 -0
- {sardana-nxsrecorder-3.21.0/sardana_nxsrecorder.egg-info → sardana-nxsrecorder-3.21.1}/PKG-INFO +1 -1
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1/sardana_nxsrecorder.egg-info}/PKG-INFO +1 -1
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardananxsrecorder/__init__.py +1 -1
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardananxsrecorder/nxsrecorder.py +5 -1
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian10_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian10_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian8_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian8_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian9_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/debian9_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/install.sh +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/run.sh +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/ubuntu16.04_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/ubuntu16.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/ubuntu18.04_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/ubuntu18.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.ci/ubuntu20.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.flake8 +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.github/workflows/tests.yml +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/.gitignore +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/COPYRIGHT +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/MANIFEST.in +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/README.rst +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/doc/Makefile +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/doc/conf.py +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/doc/index.rst +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/doc/make.bat +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/doc/sardananxsrecorder.rst +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/man/sardananxsrecorder.1 +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/SOURCES.txt +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/dependency_links.txt +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/not-zip-safe +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/requires.txt +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/top_level.txt +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/setup.cfg +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/setup.py +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/test/__init__.py +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/test/__main__.py +0 -0
- {sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/test/main.py +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
2024-05-23 Jan Kotanski <jankotan@gmail.com>
|
|
2
|
+
* replace deprecated tz.localize() with datetime.replace() (#111)
|
|
3
|
+
* tagged as 3.21.1
|
|
4
|
+
|
|
1
5
|
2024-05-22 Jan Kotanski <jankotan@gmail.com>
|
|
2
6
|
* improve support for creating measurement files in appendentry mode (#108)
|
|
3
7
|
* change entryname in the appendentry mode to '%s_%05i' (#108)
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
import os
|
|
24
24
|
import re
|
|
25
|
+
import sys
|
|
25
26
|
|
|
26
27
|
import numpy
|
|
27
28
|
import json
|
|
@@ -1129,7 +1130,10 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1129
1130
|
tz = pytz.timezone(self.__timezone)
|
|
1130
1131
|
|
|
1131
1132
|
fmt = '%Y-%m-%dT%H:%M:%S.%f%z'
|
|
1132
|
-
|
|
1133
|
+
if sys.version_info > (3, 6):
|
|
1134
|
+
starttime = mtime.replace(tzinfo=tz)
|
|
1135
|
+
else:
|
|
1136
|
+
starttime = tz.localize(mtime)
|
|
1133
1137
|
return str(starttime.strftime(fmt))
|
|
1134
1138
|
|
|
1135
1139
|
def _endRecordList(self, recordlist):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/requires.txt
RENAMED
|
File without changes
|
{sardana-nxsrecorder-3.21.0 → sardana-nxsrecorder-3.21.1}/sardana_nxsrecorder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|