<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>35355</bug_id>
          
          <creation_ts>2018-09-06 14:08:22 +0300</creation_ts>
          <short_desc>[FR] кавычкоустойчивость</short_desc>
          <delta_ts>2020-01-20 20:24:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator-datetime</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173949</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-09-06 14:08:22 +0300</bug_when>
    <thetext>При запуске модуля &quot;Дата и время&quot; в acc заметил такое:

 Часовой пояс:   /Moscow&quot; 

Проверка с помощью alterator-cmdline:

# alterator-cmdline /datetime-system action read | tail -1
timezone:/Moscow&quot;

Причина проблемы (похоже, внесённая когда-то мной вручную):

# tail -1 /etc/sysconfig/clock
ZONE=&quot;Europe/Moscow&quot;

Убрал кавычки, перезашёл в модуль -- порядок:

 Часовой пояс: Россия/Москва

# alterator-cmdline /datetime-system action read | tail -1
timezone:Russia/Moscow

Предлагаю по возможности сделать модуль нечувствительным к &quot;&apos;, т.к. закавыченные строки -- нормальный shell-синтаксис.

alterator-5.3-alt1
alterator-datetime-4.2-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187089</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2020-01-20 20:24:22 +0300</bug_when>
    <thetext>alterator-datetime-4.4.0-alt1 -&gt; sisyphus:

 Fri Jan 17 2020 Mikhail Efremov &lt;sem@altlinux&gt; 4.4.0-alt1
 - datetime-functions: Unquote timezone string (closes: #35355).
 - test: Update check-timezone.sh for zone1970.tab file.
 - datetime-functions: Use zone1970.tab file (closes: #37741).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>