aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-10 14:37:08 -0800
committerGitHub <noreply@github.com>2019-11-10 14:37:08 -0800
commit9889611b00b6159fddbdddc236448884886fe2ef (patch)
treed2892db8c323ef88398370e9120ac0cae4cdee20 /src/main/java/org/traccar/protocol
parent0ce8f90d8a8fd4315b439fe124ecebbd78ac4aa1 (diff)
parent61d07a123beeaa1e85f44046413a680aabda0c9c (diff)
downloadtrackermap-server-9889611b00b6159fddbdddc236448884886fe2ef.tar.gz
trackermap-server-9889611b00b6159fddbdddc236448884886fe2ef.tar.bz2
trackermap-server-9889611b00b6159fddbdddc236448884886fe2ef.zip
Merge pull request #4436 from flocsy/set-language
added language to watch protocol's set_timezone command
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
index 8871601a4..f285267ba 100644
--- a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
@@ -161,7 +161,7 @@ public class WatchProtocolEncoder extends StringProtocolEncoder implements Strin
case Command.TYPE_POSITION_PERIODIC:
return formatTextCommand(channel, command, "UPLOAD,%s", Command.KEY_FREQUENCY);
case Command.TYPE_SET_TIMEZONE:
- return formatTextCommand(channel, command, "LZ,,%s", Command.KEY_TIMEZONE);
+ return formatTextCommand(channel, command, "LZ,%s,%s", Command.KEY_LANGUAGE, Command.KEY_TIMEZONE);
case Command.TYPE_SET_INDICATOR:
return formatTextCommand(channel, command, "FLOWER,%s", Command.KEY_DATA);
default: