DateTime.now() in documentation but actually does not exist
See original GitHub issueDescribe the bug
In the documentation there is a method described that is called now()
but when using it I get the error luxon__WEBPACK_IMPORTED_MODULE_1__.DateTime.now
Actually the typescript typings also do not have this method
To Reproduce
use DateTime.now()
Actual vs Expected behavior Either the documentation should not contain the method or it should actually exist.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
The type name 'Now' does not exist in the type 'DateTime'
I am making a quiz app cross-platform using Xamarin and C# in Visual Studio 2017. The problem occurs with this line of code:...
Read more >datetime — Basic date and time types — Python 3.11.1 ...
The datetime module supplies classes for manipulating dates and times. While date and time arithmetic is supported, the focus of the implementation is...
Read more >MySQL 5.7 Reference Manual :: 12.7 Date and Time Functions
Functions that expect time values usually accept datetime values and ignore the date part. Functions that return the current date or time each...
Read more >DateTime - A date and time object for Perl - metacpan.org
DESCRIPTION. DateTime is a class for the representation of date/time combinations, and is part of the Perl DateTime project. It represents the Gregorian ......
Read more >Impala Date and Time Functions | 6.3.x
Purpose: Adds a specified number of days to a TIMESTAMP value. Similar to DATE_ADD() , but starts with an actual TIMESTAMP value instead...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ethanmick Update. It’s like luxon released a 2.0 DateTime.now() is very new function
I’d take a PR adding version indicators to the docs