We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931a362 commit 77d23e9Copy full SHA for 77d23e9
tests/shtest
@@ -728,6 +728,13 @@ if ! $msys && ! $mingw; then
728
exit 1
729
fi
730
731
+ # Test when DST is in effect: #1912
732
+ if ! r=$(TZ=Europe/Paris $JQ -rn '1750500000 | strflocaltime("%F %T %z %Z")') \
733
+ || [ "$r" != "2025-06-21 12:00:00 +0200 CEST" ]; then
734
+ echo "Incorrectly formatted local time"
735
+ exit 1
736
+ fi
737
+
738
if ! r=$(TZ=Europe/Paris $JQ -rn '1731627341 | strftime("%F %T %z %Z")') \
739
|| ( [ "$r" != "2024-11-14 23:35:41 +0000 UTC" ] \
740
&& [ "$r" != "2024-11-14 23:35:41 +0000 GMT" ] ); then
0 commit comments