format("G");
}
// Returns true if current time is between available from and to hours
public function is_available(): bool {
return $this->hour() >= $_ENV["client_time_available"]["available_from_hour"] && $this->hour() < $_ENV["client_time_available"]["available_to_hour"];
}
public function get_estimated_reply_hours(): int {
// I'm available! Return the estimated reply time for that
if ($this->is_available()) {
return $_ENV["client_time_available"]["reply_average_hours"];
}
return $this->hour() < $_ENV["client_time_available"]["available_from_hour"]
// Return hours past midnight until I become available (clamped to estimated reply hours)
? max($_ENV["client_time_available"]["available_from_hour"] - $this->hour(), $_ENV["client_time_available"]["reply_average_hours"])
// Return hours before midnight until I become available (clamped to estimated reply hours)
: max($_ENV["client_time_available"]["available_from_hour"] + (24 - $this->hour()), $_ENV["client_time_available"]["reply_average_hours"]);
}
}
?>
Let's chat!
The best way to get in touch is definitely by email, or through the form on this page. The time in Sweden is = $date->format("h:i a") ?> right now, I am currently = $date->is_available() ? "available" : "not available" ?> and will hopefully reply in about = $date->get_estimated_reply_hours() ?> hours.
= VV::embed("public/assets/media/line.svg") ?>
= VV::embed("public/assets/media/icons/pin.svg") ?>
encrypt your message with PGP
Encryption is great, don't let certain short-sighted politicians fool you into thinking encryption is only for criminals. I encourage you to encrypt your message with PGP so we can aid normalization of platform-agnostic encryption for everyone. My key is available via WKD, and it's also listed on the openPGP key server.
Here's the fingerprint for victor@vlw.se
DCE987311CB5D2A252F58951D0AD730E1057DFC6
And for reference, here is the fingerprint for my "non-personal" address info@vlw.se
DC603DA049903D707B7F1DB39AF727FB576F5A00
= VV::embed("public/assets/media/line.svg") ?>
call(Endpoints::MESSAGES->value)->post([
MessagesTable::EMAIL->value => $_POST[MessagesTable::EMAIL->value],
MessagesTable::MESSAGE->value => $_POST[MessagesTable::MESSAGE->value]
]);
?>
ok): ?>