Skip to content

No way to set current date/time on Date field #13756

@nunoc66

Description

@nunoc66

Bug description

In the new date picker, there is no longer a way to choose the current time. Our entries aren't published right when they're written, so the date is the time when the entry was created. However, when we publish them, we want to choose the current date and time.

In v5, you could choose the date icon and it'll input the current date and time, but this is no longer the case in v6. In v6, you need to go select the date and when you do, the time is automatically picked for you, but it seems to pick the time when the entry was originally saved.

There is no way to pick the current time without manually editing the time field.

How to reproduce

Create entry and save it. Go back to the entry and try to choose the current day and time.

Logs

Environment

Environment
Application Name: 
Laravel Version: 12.49.0
PHP Version: 8.3.22
Composer Version: 2.8.9
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: postmark
Queue: sync
Session: database

Storage
public/storage: NOT LINKED

Livewire
Livewire: v3.7.6

Statamic
Addons: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 6.1.0 PRO

Statamic Addons
statamic/eloquent-driver: 5.0.0

Statamic Eloquent Driver
Addon Settings: file
Asset Containers: file
Assets: file
Blueprints: eloquent
Collection Trees: file
Collections: eloquent
Entries: eloquent
Fieldsets: file
Form Submissions: file
Forms: eloquent
Global Sets: eloquent
Global Variables: file
Navigation Trees: file
Navigations: eloquent
Revisions: eloquent
Sites: file
Taxonomies: eloquent
Terms: eloquent
Tokens: file

Installation

Existing Laravel app

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions