mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_todoist: UTF8 in project title
git-svn-id: https://svn.fhem.de/fhem/trunk@21386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2046c51672
commit
b20a3eaa33
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 98_todoist: UTF in project title for Unicode Icons and Umlauts
|
||||||
- bugfix: 36_Vallox: Fixed MultiReading Issue
|
- bugfix: 36_Vallox: Fixed MultiReading Issue
|
||||||
- feature: 70_BRAVIA: add requestReboot (thx schnakker)
|
- feature: 70_BRAVIA: add requestReboot (thx schnakker)
|
||||||
- change: 57_SSCal: commandref reviewed
|
- change: 57_SSCal: commandref reviewed
|
||||||
|
@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse ";
|
|||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Global variables
|
# Global variables
|
||||||
my $version = "1.3.5";
|
my $version = "1.3.6";
|
||||||
|
|
||||||
my $srandUsed;
|
my $srandUsed;
|
||||||
|
|
||||||
@ -984,7 +984,7 @@ sub todoist_GetTasksCallback($$$){
|
|||||||
|
|
||||||
# set some internals (project data)
|
# set some internals (project data)
|
||||||
if ($project) {
|
if ($project) {
|
||||||
$hash->{PROJECT_NAME}=$project->{name};
|
$hash->{PROJECT_NAME}=encode_utf8($project->{name});
|
||||||
$hash->{PROJECT_COLOR}=$project->{color};
|
$hash->{PROJECT_COLOR}=$project->{color};
|
||||||
$hash->{PROJECT_ORDER}=$project->{child_order};
|
$hash->{PROJECT_ORDER}=$project->{child_order};
|
||||||
if ($project->{user_id}) {
|
if ($project->{user_id}) {
|
||||||
@ -2197,7 +2197,7 @@ sub todoist_Html(;$$$) {
|
|||||||
my $dueDate = defined($hash->{helper}{DUE_DATE}{$_})?$hash->{helper}{DUE_DATE}{$_}:"";
|
my $dueDate = defined($hash->{helper}{DUE_DATE}{$_})?$hash->{helper}{DUE_DATE}{$_}:"";
|
||||||
my $responsibleUid = defined($hash->{helper}{RESPONSIBLE_UID}{$_})?$hash->{helper}{RESPONSIBLE_UID}{$_}:"";
|
my $responsibleUid = defined($hash->{helper}{RESPONSIBLE_UID}{$_})?$hash->{helper}{RESPONSIBLE_UID}{$_}:"";
|
||||||
|
|
||||||
$responsibleUid = $hash->{helper}{USER}{NAME}{$responsibleUid} if ($responsibleUid ne "");
|
$responsibleUid = $hash->{helper}{USER}{NAME}{$responsibleUid} if ($responsibleUid ne "" && defined($hash->{helper}{USER}{NAME}{$responsibleUid}));
|
||||||
|
|
||||||
my $dueDateClass = $dueDate ne ""?" todoist_dueDate":"";
|
my $dueDateClass = $dueDate ne ""?" todoist_dueDate":"";
|
||||||
my $responsibleUidClass = $responsibleUid ne ""?" todoist_responsibleUid":"";
|
my $responsibleUidClass = $responsibleUid ne ""?" todoist_responsibleUid":"";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user