Compare commits
2 Commits
7a7d6dedf3
...
e84ab19187
Author | SHA1 | Date | |
---|---|---|---|
|
e84ab19187 | ||
|
7f7c65e3fa |
30
.devcontainer/devcontainer.json
Normal file
30
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/cpp
|
||||||
|
{
|
||||||
|
"name": "bicycle-statistics",
|
||||||
|
"image": "bic-dev:latest",
|
||||||
|
|
||||||
|
// --network=host is necessary, since default docker network does not transport mdns|dns-sd, since they route through docker0
|
||||||
|
// "runArgs": [ "--network=host", "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
||||||
|
|
||||||
|
// Set *default* container specific settings.json values on container create.
|
||||||
|
"settings": {
|
||||||
|
"terminal.integrated.defaultProfile.linux.shell":"/bin/sh"
|
||||||
|
},
|
||||||
|
|
||||||
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
|
// "extensions": [
|
||||||
|
// "ms-vscode.cpptools"
|
||||||
|
// ],
|
||||||
|
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
|
// "postCreateCommand": "gcc -v",
|
||||||
|
|
||||||
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||||
|
// "remoteUser": "vscode",
|
||||||
|
|
||||||
|
// "postStartCommand" : "sudo rm /var/run/avahi-daemon/pid; sudo avahi-daemon --no-drop-root --no-chroot -D || true",
|
||||||
|
}
|
@ -114,6 +114,6 @@ class Tracks(object):
|
|||||||
tracks = list()
|
tracks = list()
|
||||||
dates = pd.date_range(start_date.date(), end_date.date())
|
dates = pd.date_range(start_date.date(), end_date.date())
|
||||||
for track in self.__tracks:
|
for track in self.__tracks:
|
||||||
if track.start_time.date() in dates:
|
if track.start_time.date() in dates.date:
|
||||||
tracks.append(track)
|
tracks.append(track)
|
||||||
return tracks
|
return tracks
|
||||||
|
Loading…
Reference in New Issue
Block a user