PageSourceSearch

https://pika.page/assets/controllers/auto_time_zone_controller-91a…abbcf55a84a6b3c13156feb8f41cf831304af52b.js

js pika.page collected 2026-10-03 21:44:33 UTC 226 bytes, 9 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = ["timeZone"]
5
6  connect() {
7    this.timeZoneTarget.value = Intl.DateTimeFormat().resolvedOptions().timeZone
8  }
9};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.