Recurrence trigger: designer auto-appends "Z" to startTime, ignoring the specified non-UTC timeZone

オープン
#9,400 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
azure, react, typescript
領域
frontend

調査の方向性

Consumption Logic Apps デザイナーで、UTC 以外の timeZone と Z のない startTime を使用する Recurrence トリガーで問題を再現します。トリガーの自動保存のシリアル化または正規化の経路を追跡します。デザイナーがユーザー指定の startTime を保持し、ワークフローから移動して再度開いた後も構成したタイム ゾーンが有効なままであれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Severity

P2 - High (Major functionality broken)

Describe the Bug with repro steps

Summary

When a Recurrence trigger has a non-UTC timeZone (e.g. Tokyo Standard Time) and a startTime written without the Z (Zulu) suffix (yyyy-MM-ddThh:mm:ss), the designer automatically appends Z to startTime after auto save completes and the user navigates away. Because the Z suffix forces UTC interpretation, the specified timeZone is effectively ignored and the workflow runs in UTC instead of the intended local time.

Impact

This happens silently. The workflow still saves and runs successfully, so the problem is very hard to detect. Users who correctly configured startTime without Z (as documented) end up with schedules that fire at the wrong local time (off by the UTC offset, e.g. 9 hours for JST).

Repro steps

  1. Add a Recurrence trigger. Set Time zone to (UTC+09:00) Osaka, Sapporo, Tokyo and Start time to 2026-07-01T09:00:00 (i.e. yyyy-MM-ddThh:mm:ss, without a trailing Z).
  2. Wait for auto save to complete, then navigate away from the page (e.g. switch to another view).
  3. Reopen the workflow / view the code (or the version history).

Actual

startTime has been automatically rewritten to 2026-07-01T09:00:00Z. The Z suffix was added by the designer during auto save, without any user action. Since Z denotes UTC, the configured timeZone (Tokyo Standard Time) is ignored and the trigger fires in UTC.

Expected

The designer must not modify a user-provided startTime. When a non-UTC timeZone is specified, startTime should remain without the Z suffix so the value is interpreted in the specified time zone, as described in the docs:
https://learn.microsoft.com/azure/connectors/connectors-native-recurrence?tabs=consumption#add-the-recurrence-trigger

Suspected Root Cause

The auto save serialization/normalization logic appends the Z designator to startTime, without accounting for the presence of a non-UTC timeZone.

Workaround

Switch back to the previous designer UI. The Z suffix is not appended to startTime when using the old designer.

What type of Logic App Is this happening in?

Consumption (Portal)

Are you experiencing a regression?

No response

Which operating system are you using?

Windows

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON
{
    "definition": {
        "metadata": {
            "notes": {}
        },
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "contentVersion": "1.0.0.0",
        "triggers": {
            "Recurrence": {
                "type": "Recurrence",
                "recurrence": {
                    "interval": 3,
                    "frequency": "Minute",
                    "startTime": "2026-07-01T09:00:00",
                    "timeZone": "Tokyo Standard Time"
                }
            }
        },
        "actions": {},
        "outputs": {},
        "parameters": {
            "$connections": {
                "type": "Object",
                "defaultValue": {}
            }
        }
    },
    "parameters": {
        "$connections": {
            "type": "Object",
            "value": {}
        }
    }
}
Screenshots or Videos

https://github.com/user-attachments/assets/c2322575-f11e-48c4-b4a2-d9d457f017d4

Environment

N/A

Additional context

No response

主要言語
TypeScript
スター
114
フォーク
115
平均マージ
1日 3時間
マージ済み PR(30日)
40

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/LogicAppsUX のほかの issue

Azure/LogicAppsUX の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。