Repository navigation
お知らせ欄の特別シフトの日付と時間帯の間隔を詰める - #75
Merged
Merged
Conversation
お知らせ欄の特別シフト募集表示で、日付と時間帯を全角スペースで区切っていたため 「2026-10-08 12:30-15:30」のように間が空きすぎて見えていた。 半角スペース 1 つで区切るようにした。 旧: (2026-10-08 12:30-15:30) 新: (2026-10-08 12:30-15:30) 日時文字列の組み立てを formatSpecialShiftSchedule() に切り出し、 js/modules/specialShifts.js にエクスポートガードを追加して、テストから実コードを 直接 import して検証している(docs/refactoring/phase-1-test-foundation.md の方針)。 ブラウザでは module が未定義のため no-op。 テスト: 424 passed (32 suites) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
お知らせ欄の特別シフト募集表示で、日付と時間帯を全角スペースで区切っていたため、間が空きすぎて見えていました。半角スペース 1 つで区切るように修正します。
変更内容
formatSpecialShiftSchedule()に切り出し、区切りを半角スペースに変更js/modules/specialShifts.jsにエクスポートガードを追加し、テストから実コードを直接 import して検証(docs/refactoring/phase-1-test-foundation.mdの方針。ブラウザではmoduleが未定義のため no-op)test/special-shift-announcement-spacing.test.jsを追加テスト
npm test: 424 passed (32 suites)破壊的変更・DB マイグレーションはありません。
🤖 Generated with Claude Code