Repository navigation
[fix] dln - take the day from options.dateString - #11451
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Summary by CodeRabbit
WalkthroughThe DLN ChangesDLN date selection
Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested labels: Suggested reviewers: Merge Risk:
|
|
@takinanton thanks for the PR |
fees/dln formats the day for the deBridge stats and treasury requests with getFullYear, getMonth and getDate so the date follows the machine timezone. With TZ=America/New_York
pnpm test fees dln 2026-11-25 ethereum,solanaasks the API for 2026-11-23 and shows 1.75 k on ethereum and 3.60 k in total while the day it should report has 2.53 k and 4.33 k. I dropped the local formatter and pass options.dateString instead. Now the same command prints 2.53 k and 4.33 k under New York and Tokyo as well as UTC. The UTC output did not change so no refill is needed.🤖 Generated with Claude Code