---
title: "Discussion on \"A test for the date that should never cross midnight\" | Hashnode"
description: "Discussion on \"A test for the date that should never cross midnight\". Use a runnable JavaScript fixture to check how a date-only field and an approval timestamp behave in Toronto and Amsterdam."
url: "https://hashnode.com/posts/a-test-for-the-date-that-should-never-cross-midnight/6b04683d7b598fae37ad16b2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A test for the date that should never cross midnight](https://ioneremia-workflows.hashnode.dev/a-test-for-the-date-that-should-never-cross-midnight?utm_source=hashnode&utm_medium=feed)

Use a runnable JavaScript fixture to check how a date-only field and an approval timestamp behave in Toronto and Amsterdam.

Nov 23 · 4 min read · ioneremia-workflows.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ion Eremia](https://hashnode.com/@ioneremiadev)

@ioneremiadev

  
[View profile](https://hashnode.com/@ioneremiadev)

WordPress, CRM data cleanup and documented workflow automation.

Founder of Prime Group. I work on WordPress, CRM data cleanup and documented n8n/API workflows. Portfolio examples are technical demonstrations using synthetic data.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
